Request for reviews (XS): 7087727: JSR 292: C2 crash if ScavengeRootsInCode=2 when "static final" MethodHandle constants are in use
John Rose
john.r.rose at oracle.com
Tue Nov 8 12:14:17 PST 2011
On Nov 8, 2011, at 10:52 AM, Tom Rodriguez wrote:
> Why would some call sites that invoke an MH used invokevirtual and others use invokespecial?
That depends partly on where the MH constant originally came from, whether it was findVirtual, findStatic, or findSpecial. The bytecode probably came from MethodHandleChain::set_last_method.
The change looks good.
-- John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20111108/2ebe3e94/attachment.html
More information about the hotspot-compiler-dev
mailing list