comparison src/share/vm/services/jmm.h @ 12997:e4f478e7781b

8027294: Prepare hotspot for non TOD based uptime counter Summary: Use HR timer when available for os::elapsed_counter() on linux/bsd. Add a new counter for the JVM uptime. Reviewed-by: dholmes, sla
author jbachorik
date Fri, 25 Oct 2013 09:07:58 +0200
parents 31a4e55f8c9d
children 1a899ea6b7ed
comparison
equal deleted inserted replaced
12996:d70a665e25d7 12997:e4f478e7781b
76 JMM_THREAD_DAEMON_COUNT = 6, /* Current number of daemon threads */ 76 JMM_THREAD_DAEMON_COUNT = 6, /* Current number of daemon threads */
77 JMM_JVM_INIT_DONE_TIME_MS = 7, /* Time when the JVM finished initialization */ 77 JMM_JVM_INIT_DONE_TIME_MS = 7, /* Time when the JVM finished initialization */
78 JMM_COMPILE_TOTAL_TIME_MS = 8, /* Total accumulated time spent in compilation */ 78 JMM_COMPILE_TOTAL_TIME_MS = 8, /* Total accumulated time spent in compilation */
79 JMM_GC_TIME_MS = 9, /* Total accumulated time spent in collection */ 79 JMM_GC_TIME_MS = 9, /* Total accumulated time spent in collection */
80 JMM_GC_COUNT = 10, /* Total number of collections */ 80 JMM_GC_COUNT = 10, /* Total number of collections */
81 JMM_JVM_UPTIME_MS = 11, /* The JVM uptime in milliseconds */
81 82
82 JMM_INTERNAL_ATTRIBUTE_INDEX = 100, 83 JMM_INTERNAL_ATTRIBUTE_INDEX = 100,
83 JMM_CLASS_LOADED_BYTES = 101, /* Number of bytes loaded instance classes */ 84 JMM_CLASS_LOADED_BYTES = 101, /* Number of bytes loaded instance classes */
84 JMM_CLASS_UNLOADED_BYTES = 102, /* Number of bytes unloaded instance classes */ 85 JMM_CLASS_UNLOADED_BYTES = 102, /* Number of bytes unloaded instance classes */
85 JMM_TOTAL_CLASSLOAD_TIME_MS = 103, /* Accumulated VM class loader time (TraceClassLoadingTime) */ 86 JMM_TOTAL_CLASSLOAD_TIME_MS = 103, /* Accumulated VM class loader time (TraceClassLoadingTime) */