VirtualBox

Opened 14 years ago

Last modified 10 years ago

#5973 closed defect

in Java, System.nanoTime() isn't linear increasing — at Initial Version

Reported by: Harald Owned by:
Component: other Version: VirtualBox 3.1.2
Keywords: timer, clock Cc:
Guest type: Windows Host type: Windows

Description

consider the attached java testprogram. Output of this program on my instance of virtualBox:

Nanos Panic! Start:302364596776405 End:301169739831459 (@ Wed Jan 13 13:08:35 CET 2010) Nanos Panic! Start:303561839335725 End:302366984026740 (@ Wed Jan 13 13:28:32 CET 2010) Nanos Panic! Start:304764089712798 End:303569229781718 (@ Wed Jan 13 13:48:34 CET 2010)

This beahviour results in polling problems with Spring Integration.

Change History (1)

by Harald, 14 years ago

Attachment: TimerTest.java added
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use