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

Christian Thalinger christian.thalinger at oracle.com
Wed May 8 13:43:29 PDT 2013


On May 8, 2013, at 11:48 AM, Bharadwaj Yadavalli <bharadwaj.yadavalli at oracle.com> wrote:

> Thanks John and Chris.
> 
> Chris, OK to push?

Yes.  -- Chris

> 
> Bharadwaj
> 
> On 5/7/2013 8:10 PM, John Rose wrote:
>> 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/20130508/29ab0104/attachment.html 


More information about the hotspot-runtime-dev mailing list