System.currentTimeMillis() compile to native, accurate?
Rui Wang
Rui.Wang@newcastle.ac.uk
Thu Feb 9 15:57:00 GMT 2006
Hi,
I wonder that how gcj maps Java's "System.currentTimeMillis()" to native
machine code.
In JVM, the time returned from "System.currentTimeMillis()" is not
accurate due to various of issues, such as: garbage collection,
thread management model, configurations, etc.
In native environment, what will happen? Is it accurate?
Thank you
Rui
More information about the Java
mailing list