src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
Print this page
rev 4274 : 8008920: Tracing events for heap statistics
@@ -4904,14 +4904,16 @@
FreelistLocker x(this);
MutexLockerEx y(bitMapLock(),
Mutex::_no_safepoint_check_flag);
assert(!init_mark_was_synchronous, "but that's impossible!");
checkpointRootsFinalWork(asynch, clear_all_soft_refs, false);
+ _gc_tracer_cm->report_class_count_after_gc(&_is_alive_closure);
} else {
// already have all the locks
checkpointRootsFinalWork(asynch, clear_all_soft_refs,
init_mark_was_synchronous);
+ _gc_tracer_cm->report_class_count_after_gc(&_is_alive_closure);
}
verify_work_stacks_empty();
verify_overflow_empty();
SpecializationStats::print();
}