RFR(XL): 8185640: Thread-local handshakes

Andrew Haley aph at redhat.com
Wed Oct 25 10:32:33 UTC 2017

Do we know hat this is always correct for C2?  Could we not have
something like

    ldr r0, [rthread, #polling_page_offset]

    ldr rscratch, [r0]  {poll}
    cmp foo, bar
    bne loop

when C2 hoists the load of the polling page address out of a loop?

Or is such hoisting disable for this case?

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-dev mailing list