Performance of locally copied members ?
Rémi Forax
forax at univ-mlv.fr
Sun May 30 08:10:16 PDT 2010
Le 30/05/2010 17:00, Robert Larsen a écrit :
> On 2010-05-03 19:29, Martin Buchholz wrote:
>> It's a coding style made popular by Doug Lea.
>> It's an extreme optimization that probably isn't necessary;
>> you can expect the JIT to make the same optimizations.
>> (you can try to check the machine code yourself!)
> I have often times wanted to do that. Is there some clever way of
> getting the actual machine code that the JIT compiler generates ?
There are two tools:
LogCompilation that print JIT decision
http://wikis.sun.com/display/HotSpotInternals/LogCompilation+overview
PrintAssembly that prints the final assembly
http://wikis.sun.com/display/HotSpotInternals/PrintAssembly
Rémi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20100530/13835e6d/attachment.html
More information about the nio-dev
mailing list