[aarch64-port-dev ] RFR: 8189596: AArch64: implementation for Thread-local handshakes

Andrew Haley aph at redhat.com
Thu Nov 23 14:12:08 UTC 2017


On 23/11/17 11:30, Andrew Haley wrote:
> It was quite tricky to get this one right.
> 
> Some notes:
> 
> I deleted LIR_Assembler::poll_for_safepoint because it's dead code.
> 
> I set ThreadLocalHandshakes to true.  This follows x86-64 and is
> probably the right thing to do, but it does have the disadvantage that
> it considerably extends the time to safepoint for interpreted code
> because we only poll at branches.  I think this is probably a bad
> idea, but again it's the same as x86-64.  OTOH, checking the safepoint
> bit at every bytecode would seriously bloat the interpreter.  Oh dear.
> 

http://cr.openjdk.java.net/~aph/8189596-1/

-- 
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 aarch64-port-dev mailing list