Mercurial > hg > truffle
comparison src/share/vm/services/management.hpp @ 4753: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 | 78542e2b5e35 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
4749:7ab5f6318694 | 4753:2e0ef19fc891 |
---|---|
74 | 74 |
75 // Update the timestamp to the vm init done time | 75 // Update the timestamp to the vm init done time |
76 _stamp.update(); | 76 _stamp.update(); |
77 } | 77 } |
78 | 78 |
79 static jlong begin_vm_creation_time() { | |
80 return _begin_vm_creation_time->get_value(); | |
81 } | |
79 static jlong vm_init_done_time() { | 82 static jlong vm_init_done_time() { |
80 return _vm_init_done_time->get_value(); | 83 return _vm_init_done_time->get_value(); |
81 } | 84 } |
82 | 85 |
83 // methods to return a klassOop. | 86 // methods to return a klassOop. |