RFR(S) - JDK-8013875: Incorrect vtable index being set during methodHandle creation for static methods

John Rose john.r.rose at oracle.com
Tue May 7 17:10:36 PDT 2013


On May 7, 2013, at 2:53 PM, Christian Thalinger <christian.thalinger at oracle.com> wrote:

> Don't we have a helper function to get that value?
> 
> +     int ref_kind = ((java_lang_invoke_MemberName::flags(mname()) >>
> +                      REFERENCE_KIND_SHIFT) & REFERENCE_KIND_MASK);

No, java_lang_invoke_MemberName API is spartan.

That particular line of code will go away when CallInfo gets cleaned up, so I wouldn't introduce a helper just for that.

— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20130507/3791826f/attachment.html 


More information about the hotspot-runtime-dev mailing list