[PATCH] 6523160 :RuntimeMXBean.getUptime() returns negative values

Lars Westergren lars.westergren at ki.se
Wed May 23 23:47:22 PDT 2007


Hello,

> One issue with the suggested fix is that the VM is the one recording the
> VM start time.  The RuntimeImpl instance is not created at startup but
> instead, it's lazily initialzed at the first time being accessed.  Thus
> we need to make change in the VM to record the VM startup nano time for
> this bug fix.  This will require a coordinated change with the HotSpot
> and J2SE repositories.
> 
> Do you want to contribute to the HotSpot VM as well?

Yes, I'm certainly willing to give it a try.

Cheers,
Lars



More information about the serviceability-dev mailing list