Re: Date precision on Windows

2009-09-14 Thread Osvaldo Doederlein
Windows 7 seems to be better, check my last comente here: http://javafx-jira.kenai.com/browse/JFXC-3357 A+ Osvaldo 2009/9/14 Jeroen Frijters > Andrew Haley wrote: > > Please, someone tell me Windows isn't still using the old 18.2 Hz DOS > > timer for its system clock. No > > Not that i

Re: Date precision on Windows

2009-09-14 Thread Alan Bateman
Max (Weijun) Wang wrote: Hi All Recently one of my Kerberos tests always reports "replay detected" error. Turns out the time precision on Windows is quite low. I've written this tiny program. It calls new Date().getTime() as fast as possible and try to see if the output is continuous: clas

RE: Date precision on Windows

2009-09-14 Thread Jeroen Frijters
Andrew Haley wrote: > Please, someone tell me Windows isn't still using the old 18.2 Hz DOS > timer for its system clock. No Not that it is true, but why would that be bad? By default (most) multi core/cpu Windows systems run at a 15 ms timer interrupt interval (10 ms for single cpu/cor

Re: Date precision on Windows

2009-09-14 Thread Andrew Haley
Max (Weijun) Wang wrote: > Recently one of my Kerberos tests always reports "replay detected" > error. Turns out the time precision on Windows is quite low. > > I've written this tiny program. It calls new Date().getTime() as fast as > possible and try to see if the output is continuous: > > cla

Date precision on Windows

2009-09-14 Thread Max (Weijun) Wang
Hi All Recently one of my Kerberos tests always reports "replay detected" error. Turns out the time precision on Windows is quite low. I've written this tiny program. It calls new Date().getTime() as fast as possible and try to see if the output is continuous: class A { public static vo