ZBarrier::barrier

Per Liden per.liden at oracle.com
Wed Mar 13 12:15:33 UTC 2019


Hi Andrew,

On 3/13/19 12:59 PM, Andrew Haley wrote:
> I'm trying to get my head around self-healing in ZGC.
> 
> In c1-compiled code, when we call ZBarrier::barrier(volatile oop* p, oop o),
> what does p point to?
> 

p points to the reference field where o was loaded from. So if we detect 
that o is bad, then we want to write back the healed version of o into 
p. Makes sense?

/Per


More information about the zgc-dev mailing list