This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
System.currentTimeMillis() compile to native, accurate?
- From: "Rui Wang" <Rui dot Wang at newcastle dot ac dot uk>
- To: <java at gcc dot gnu dot org>
- Date: Thu, 9 Feb 2006 15:57:10 -0000
- Subject: System.currentTimeMillis() compile to native, accurate?
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