[9] RFR(S): 8155643: Java crash with assert in Xcomp mode and disabled ReduceInitialCardMarks
Tobias Hartmann
tobias.hartmann at oracle.com
Tue May 10 16:15:01 UTC 2016
Thanks, Vladimir!
Best regards,
Tobias
On 10.05.2016 18:06, Vladimir Kozlov wrote:
> Looks good.
>
> Thanks,
> Vladimir
>
> On 5/10/16 9:01 AM, Tobias Hartmann wrote:
>> Hi,
>>
>> please review the following patch:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8155643
>> http://cr.openjdk.java.net/~thartmann/8155643/webrev.00/
>>
>> We hit the "should have klasses" assert in PhaseMacroExpand::generate_arraycopy() while intrinsifying Object[].clone() because the src and dst klass is not set. This is because if ReduceInitialCardMarks is disabled, we emit a copy of type 'CloneOop' instead of a 'CloneBasic'. In both cases we should not emit a subtype check.
>>
>> Tested on JPRT and RBT (running).
>>
>> Thanks,
>> Tobias
>>
More information about the hotspot-compiler-dev
mailing list