System clocks going out of sync when java runs
843798Mar 18 2004 — edited Mar 18 2004Hi,
my problem -
In developing a complex java app with many threads and timers, some network io and some display served up via swing in applets I've encountered a strange problem. For some reason the system time goes out the machine running the app goes out of sync quite quickly with the other machines on the network.
The cpu is running at about 20%, but running the JVM is the common factor that leads to the clocks going out of sync.
possible answer -
We do a lot of calls to system.currentTimemillis(), could this interrupt the system time being moved on and therefore mean the system time isn't updated at the correct rate?
any suggestions on the cause would be appreciated.
oh, this is all running jvm 1.401 on win 2000.
thanks