From 2cd87d4e3a891732ef762977e99bf626593308f8 Mon Sep 17 00:00:00 2001 From: Paul Hohensee Date: Thu, 5 Jan 2012 17:14:52 -0500 Subject: [PATCH] 7126480: Make JVM start time in milliseconds since the Java epoch available 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hotspot/src/share/vm/services/management.hpp b/hotspot/src/share/vm/services/management.hpp index 9d97988df9c..be1770aea06 100644 --- a/hotspot/src/share/vm/services/management.hpp +++ b/hotspot/src/share/vm/services/management.hpp @@ -76,6 +76,9 @@ public: _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(); }