RFR: 8134389: Crash in HotSpot with jvm.dll+0x42b48 ciObjectFactory::create_new_metadata
Vladimir Kozlov
vladimir.kozlov at oracle.com
Fri Sep 16 17:56:20 UTC 2016
Add assert (we have it in other places too):
assert(declared_signature != NULL, "cannot be null");
For functionality correctness ask Vladimir Ivanov to look.
Thanks,
Vladimir
On 9/11/16 4:51 AM, Jamsheed C m wrote:
> i made some changes to my fix. webrev is updated in place.
>
> pit results with latest modification updated in bug(not still completed)
>
> Best Regards,
>
> Jamsheed
>
>
> On 9/10/2016 3:53 AM, Jamsheed C m wrote:
>>
>> adding a little more description as per my understanding
>>
>> This issue can happen only for compiled lforms not inlined case
>>
>> there are two scenarios.
>> 1) no compiled lforms inlined
>> 2) some compiled lforms are inlined or final method is not inlined (linkTo* not inlined).. (i.e partially inlined)
>>
>> in all these cases *Invoke instruction* will be *return Value*. and will have erased type.
>> so we reify return type either by type casting(for partially inlined case) or by directly pulling from callsite MT.
>>
>> Best Regards,
>>
>> Jamsheed
>>
>>
>> On 9/8/2016 3:26 PM, Jamsheed C m wrote:
>>> Hi All,
>>>
>>> bugid: https://bugs.openjdk.java.net/browse/JDK-8134389
>>>
>>> webrev: http://cr.openjdk.java.net/~jcm/8134389/webrev.00/
>>>
>>> return type information is not available in lforms, this causes contradictions in operation like store indexed. mh _linkTo* site arg type casting. etc..
>>>
>>> fix: TypeCast to declared return type at lform return.
>>>
>>> Best Regards,
>>>
>>> Jamsheed
>>>
>>
>
More information about the hotspot-compiler-dev
mailing list