RFR: 8286263: compiler/c1/TestPinnedIntrinsics.java failed with "RuntimeException: testCurrentTimeMillis failed with -3"

Tobias Hartmann thartmann at openjdk.java.net
Fri May 6 06:14:47 UTC 2022


On Fri, 6 May 2022 04:42:50 GMT, Dean Long <dlong at openjdk.org> wrote:

> This test incorrectly assumes calls to System.currentTimeMillis() are monotonic.  The only fix I can think of is to remove that test and leave the test for System.nanoTime().

Looks good to me, thanks for fixing.

-------------

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8566


More information about the hotspot-compiler-dev mailing list