Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/services/jmm.h Thu Oct 24 22:19:48 2013 -0700 +++ b/src/share/vm/services/jmm.h Fri Oct 25 09:07:58 2013 +0200 @@ -78,6 +78,7 @@ JMM_COMPILE_TOTAL_TIME_MS = 8, /* Total accumulated time spent in compilation */ JMM_GC_TIME_MS = 9, /* Total accumulated time spent in collection */ JMM_GC_COUNT = 10, /* Total number of collections */ + JMM_JVM_UPTIME_MS = 11, /* The JVM uptime in milliseconds */ JMM_INTERNAL_ATTRIBUTE_INDEX = 100, JMM_CLASS_LOADED_BYTES = 101, /* Number of bytes loaded instance classes */