hotspot/src/share/vm/services/management.cpp
void Management::record_vm_startup_time(jlong begin, jlong duration) {
// if the performance counter is not initialized,
// then vm initialization failed; simply return.
if (_begin_vm_creation_time == NULL) return;
_begin_vm_creation_time->set_value(begin);
_end_vm_creation_time->set_value(begin + duration);
PerfMemory::set_accessible(true);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.