AW: Java CountDownLatch.await(timeout) is influenced by changes to Systemtime on Linux

David Holmes david.holmes at oracle.com
Tue Nov 11 02:17:25 UTC 2014


This is a known issue:

https://bugs.openjdk.java.net/browse/JDK-6900441

fixed in 7u60, 8 and 9.

What version were you running?

David

On 11/11/2014 6:59 AM, Bernd Eckenfels wrote:
> Hm, how did you change the time? (normal date command?) System.nanoTime is supposed to be monotonic. I think on linux it even uses a timer for exactly that.
>
> i think there was a open bug around park(), but the nanoTime should be find (and negative difference are sonewhat normal with it anyway)
> gruss
> bernd
>



More information about the core-libs-dev mailing list