< prev index next >

src/hotspot/share/gc/serial/defNewGeneration.cpp

Print this page
rev 60257 : [mq]: 8248401-unify-millis-since-last-gc

*** 678,693 **** _preserved_marks_set.reclaim(); // set new iteration safe limit for the survivor spaces from()->set_concurrent_iteration_safe_limit(from()->top()); to()->set_concurrent_iteration_safe_limit(to()->top()); - // We need to use a monotonically non-decreasing time in ms - // or we will see time-warp warnings and os::javaTimeMillis() - // does not guarantee monotonicity. - jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; - update_time_of_last_gc(now); - heap->trace_heap_after_gc(&gc_tracer); _gc_timer->register_gc_end(); gc_tracer.report_gc_end(_gc_timer->gc_end(), _gc_timer->time_partitions()); --- 678,687 ----
< prev index next >