RFR: Missing enter/leave around keep_alive_barrier in AArch64

Andrew Haley aph at redhat.com
Wed Jan 3 12:16:45 UTC 2018


On 03/01/18 12:08, Roman Kennke wrote:
> Are you referring to enter()/leave() around calling the 
> keep-alive-barriers? I think this is ok: it only pushes/pops a stack 
> frame, and it is only needed and done in the Reference_get() interpreter 
> 'intrinsic', because it doesn't have a stack frame on its own.

I'm thinking about the SATB barrier.  Calling into the runtime
clobbers all call-clobbered registers, and that's a lot, just to
push one pointer onto a list.

-- 
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 shenandoah-dev mailing list