Mercurial > hg > truffle
diff src/share/vm/runtime/perfData.hpp @ 875:6a93908f268f
6857194: Add hotspot perf counters to aid class loading performance measurement
Summary: Add new jvmstat counters to measure detailed class loading time
Reviewed-by: acorn, kamg
author | mchung |
---|---|
date | Fri, 10 Jul 2009 11:10:00 -0700 |
parents | a61af66fc99e |
children | 89e0543e1737 |
line wrap: on
line diff
--- a/src/share/vm/runtime/perfData.hpp Fri Jun 19 07:33:25 2009 -0700 +++ b/src/share/vm/runtime/perfData.hpp Fri Jul 10 11:10:00 2009 -0700 @@ -868,6 +868,10 @@ {counter = PerfDataManager::create_counter(counter_ns, counter_name, \ PerfData::U_Events,CHECK);} +#define NEWPERFBYTECOUNTER(counter, counter_ns, counter_name) \ + {counter = PerfDataManager::create_counter(counter_ns, counter_name, \ + PerfData::U_Bytes,CHECK);} + // Utility Classes /*