6857194: Add hotspot perf counters to aid class loading performance measurement

Add new jvmstat counters to measure detailed class loading time

Reviewed-by: acorn, kamg
This commit is contained in:
Mandy Chung 2009-07-10 11:10:00 -07:00
parent c8140c1078
commit 08f5aeffc1
11 changed files with 274 additions and 33 deletions

View file

@ -688,10 +688,9 @@ ThreadStatistics::ThreadStatistics() {
_contended_enter_count = 0;
_monitor_wait_count = 0;
_sleep_count = 0;
_class_init_recursion_count = 0;
_class_verify_recursion_count = 0;
_count_pending_reset = false;
_timer_pending_reset = false;
memset((void*) _perf_recursion_counts, 0, sizeof(_perf_recursion_counts));
}
ThreadSnapshot::ThreadSnapshot(JavaThread* thread) {