7126480: Make JVM start time in milliseconds since the Java epoch available
authorphh
Thu, 05 Jan 2012 17:14:52 -0500
changeset 11421 83e0636dc42c
parent 11417 4ecc3253bec4
child 11422 fcd6a1948f57
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
hotspot/src/share/vm/services/management.hpp
--- a/hotspot/src/share/vm/services/management.hpp	Sun Jan 01 11:17:59 2012 -0500
+++ b/hotspot/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();
   }