ReentrantLock performance regression between JDK5 and 6/7?

Clemens Eisserer linuxhippy at gmail.com
Thu Aug 11 08:37:13 PDT 2011


Hi Vitaly,

Which OS are you using?
>
Linux-3.0 (Fedora 15)


> Also, you should use System.nanoTime() for this type of timing as it gives
> you a more precise timer.
>
I tried, but results remained the same. ~53ms for jdk6/7, ~41 for JDK5.
I was using the server compiler both times.

Thanks, Clemens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20110811/93acc2b8/attachment.html 


More information about the hotspot-runtime-dev mailing list