7115199: Add event tracing hooks and Java Flight Recorder infrastructure

Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.

Reviewed-by: acorn, sspitsyn
This commit is contained in:
Markus Gronlund 2012-01-11 17:34:02 -05:00 committed by Paul Hohensee
parent 849571d5b3
commit 007126d010
29 changed files with 352 additions and 11 deletions

View file

@ -158,6 +158,9 @@ klassOop Klass::base_create_klass_oop(KlassHandle& klass, int size,
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);