changeset 2947:2e0ef19fc891

7126480: Make JVM start time in milliseconds since the Java epoch available Summary: Expose existing Management::_begin_vm_creation_time via new accessor Management::begin_vm_creation_time(). Reviewed-by: acorn, dcubed
author phh
date Thu, 05 Jan 2012 17:14:52 -0500
parents 7ab5f6318694
children 66259eca2bf7
files src/share/vm/services/management.hpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/services/management.hpp	Sun Jan 01 11:17:59 2012 -0500
+++ b/src/share/vm/services/management.hpp	Thu Jan 05 17:14:52 2012 -0500
@@ -76,6 +76,9 @@
     _stamp.update();
   }
 
+  static jlong begin_vm_creation_time() {
+    return _begin_vm_creation_time->get_value();
+  }
   static jlong vm_init_done_time() {
     return _vm_init_done_time->get_value();
   }