Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Bug Hotspot acc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 793 of 803
Post > Topic >>

Bug Hotspot accelerates Windows system clock

by FutureScalper <futurescalper@[EMAIL PROTECTED] > Oct 30, 2007 at 05:19 AM

This bug has been present way back, and has never been fixed.

Running the Hotspot Server VM Java 6 Update 3, I am getting seriously
accelerated system clock times which can be as much as a minute over a
couple of hours.

Gateway GT5636E Quad processor Windows Vista Home Premium OS.

This is just unacceptable for Java to have the side-effect of altering
the system clock.

I have removed ALL Thread.sleep calls and have created my own facility
using wait, as the bug was originally with the sleep call.  This helps
most of the time, but there is still an alteration of the windows
system clock.

It has something to do with Java moving the system clock back so that
threads which are waiting on time will be awakened.

Yes, I use the ForceTimeHighResolution argument to the VM...  Doesn't
fix it, apparently under all circumstances.

I provide the argument under Java Web Start, and can only assume it
gets passed properly to the underlying VM.




 6 Posts in Topic:
Bug Hotspot accelerates Windows system clock
FutureScalper <futures  2007-10-30 05:19:48 
Re: Bug Hotspot accelerates Windows system clock
Gordon Beaton <n.o.t@[  2007-10-30 12:20:53 
Re: Bug Hotspot accelerates Windows system clock
FutureScalper <futures  2007-10-30 05:30:14 
Re: Bug Hotspot accelerates Windows system clock
FutureScalper <futures  2007-10-30 05:33:20 
Re: Bug Hotspot accelerates Windows system clock
FutureScalper <futures  2007-10-30 05:36:37 
Re: Bug Hotspot accelerates Windows system clock
Gordon Beaton <n.o.t@[  2007-10-30 12:37:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 0:09:28 CDT 2008.