equal
deleted
inserted
replaced
116 ~TraceVmCreationTime() {} |
116 ~TraceVmCreationTime() {} |
117 |
117 |
118 void start() |
118 void start() |
119 { _timer.update_to(0); _begin_time = os::javaTimeMillis(); } |
119 { _timer.update_to(0); _begin_time = os::javaTimeMillis(); } |
120 |
120 |
|
121 jlong begin_time() const { |
|
122 return _begin_time; |
|
123 } |
|
124 |
121 /** |
125 /** |
122 * Only call this if initialization completes successfully; it will |
126 * Only call this if initialization completes successfully; it will |
123 * crash if PerfMemory_exit() has already been called (usually by |
127 * crash if PerfMemory_exit() has already been called (usually by |
124 * os::shutdown() when there was an initialization failure). |
128 * os::shutdown() when there was an initialization failure). |
125 */ |
129 */ |