RFR (XXS) JDK-8164124,The fix for JDK-8071770 incorrectly uses os::elapsed_counter()

Joseph Provino joseph.provino at oracle.com
Tue Aug 16 18:06:02 UTC 2016


Please review this one line change:

jlong G1CollectedHeap::millis_since_last_gc() {

This: jlong now = os::elapsed_counter() / NANOSECS_PER_MILLISEC;

Should be: jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC;

CR: JDK-8164124 <https://bugs.openjdk.java.net/browse/JDK-8164124> The 
fix for JDK-8071770 incorrectly uses os::elapsed_counter()

Webrev:  http://cr.openjdk.java.net/~jprovino/8164124/webrev.00


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20160816/5754e56a/attachment.htm>


More information about the hotspot-gc-dev mailing list