RFR: 8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt [v3]

Chris Plummer cjplummer at openjdk.org
Thu Jul 13 14:58:19 UTC 2023


On Thu, 13 Jul 2023 09:46:30 GMT, Viktor Klang <duke at openjdk.org> wrote:

> I'd use a monotonic clock like `System.nanoTime()` for things like this since the system clock can be changed to anything at any time.

We have 100's of uses of `System.currentTimeMillis()` in our tests. I think changing them should be handled by a separate effort.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14817#discussion_r1262683702


More information about the serviceability-dev mailing list