Escape Analysis and arrays
p.thio at xs4all.nl
Sat Nov 27 06:34:19 PST 2010
Please ignore my previous mail about Escape Analysis. I found the answer in the jdk 7 notes:
"After escape analysis, the server compiler eliminates scalar replaceable object allocations and associated locks from heap. The server compiler also eliminates locks for all non-globally escaping objects. It does not replace a heap allocation with a stack allocation for non-globally escaping objects."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev