RFR(S): 8217042: Shenandoah: write barrier on backedge of strip mined loop causes c2 crash at expansion time

Roman Kennke rkennke at redhat.com
Wed Jan 16 09:42:24 UTC 2019


Looks good to me. Fix the comments as Aleksey already noted.

Thanks,
Roman

> http://cr.openjdk.java.net/~roland/8217042/webrev.00/
> 
> If a write barrier is in the body of the outer strip mined loop,
> expanding it causes loop strip mining verification code to fail. This is
> worked around by turning the strip mined loop nest into a regular
> counted loop nest so verification code doesn't trigger. The logic that
> takes care of that breaks when the write barrier is on the backedge of
> the strip mined loop because it is applied after the barrier is
> expanded. The fix I propose is to move that logic before barrier
> expansion.
> 
> Roland.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20190116/36a938fe/signature-0001.asc>


More information about the hotspot-compiler-dev mailing list