This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]