RFR(XS): 8227384: C2 compilation fails with "graph should be schedulable" when running with -XX:-EliminateLocks

Jamsheed jamsheed.c.m at oracle.com
Thu Jul 11 03:03:30 UTC 2019


Hi Roland,

On 10/07/19 7:07 PM, Roland Westrelin wrote:
> The fix I propose is to not set control on the mark work loads. I
> suppose control was set to guarantee the loads don't float above a null
> check but now that C2 doesn't eliminate CastPPs early that should not
> happen.

Please consider floating loads moving above safepoint case due same 
memory state case as described in bug 
https://bugs.openjdk.java.net/browse/JDK-8213825

test case in bug report.

Best regards,

Jamsheed



More information about the hotspot-compiler-dev mailing list