RFR 8135188: RunFinalizationTest.java Exception java.lang.Error: Test failure: Object was not finalized

Martin Buchholz martinrb at google.com
Fri Oct 9 17:24:55 UTC 2015


  85         long targetTime = System.nanoTime()+ TIMEOUT;
  86         while (System.nanoTime()< targetTime) {

This code violates the rules for usage of nanoTime
https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#nanoTime--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20151009/ee09cdbe/attachment.html>


More information about the serviceability-dev mailing list