Java Application Time Sync Problem
By admin on Feb 15, 2009 in Java
JVM is default to calculate the current system date time using the number CPU ticks when it is started.
This may be a problem if you operating system is time synched. You may notice the JVM time is different from the OS time.
See below
http://www.javakb.com/Uwe/Forum.aspx/java-programmer/8471/HP-UX-Java-1-3-1-02-date-time-differences
One solution is to use -XX:+UseGetTimeOfDay but it may have performance impact.

1 Trackback(s)