diff src/share/vm/oops/klass.cpp @ 4800:94ec88ca68e2

7115199: Add event tracing hooks and Java Flight Recorder infrastructure Summary: Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR. Reviewed-by: acorn, sspitsyn Contributed-by: markus.gronlund@oracle.com
author phh
date Wed, 11 Jan 2012 17:34:02 -0500
parents 8ce625481709
children 4f3ce9284781
line wrap: on
line diff
--- a/src/share/vm/oops/klass.cpp	Mon Jan 09 10:27:24 2012 +0100
+++ b/src/share/vm/oops/klass.cpp	Wed Jan 11 17:34:02 2012 -0500
@@ -158,6 +158,9 @@
   kl->set_next_sibling(NULL);
   kl->set_alloc_count(0);
   kl->set_alloc_size(0);
+#ifdef TRACE_SET_KLASS_TRACE_ID
+  TRACE_SET_KLASS_TRACE_ID(kl, 0);
+#endif
 
   kl->set_prototype_header(markOopDesc::prototype());
   kl->set_biased_lock_revocation_count(0);