8319725: G1: Subtracting virtual time from wall time after JDK-8319204
Reviewed-by: ayang, iwalulya
This commit is contained in:
parent
a26f7c03c7
commit
b0fc8082f0
@ -2760,7 +2760,7 @@ void G1CMTask::do_marking_step(double time_target_ms,
|
||||
// Separated the asserts so that we know which one fires.
|
||||
assert(_cm->out_of_regions(), "only way to reach here");
|
||||
assert(_task_queue->size() == 0, "only way to reach here");
|
||||
double termination_start_time_ms = os::elapsedVTime() * 1000.0;
|
||||
double termination_start_time_ms = os::elapsedTime() * 1000.0;
|
||||
|
||||
// The G1CMTask class also extends the TerminatorTerminator class,
|
||||
// hence its should_exit_termination() method will also decide
|
||||
|
Loading…
x
Reference in New Issue
Block a user