Andrew Haley aph at redhat.com
Wed Mar 13 12:30:16 UTC 2019

On 3/13/19 12:15 PM, Per Liden wrote:
> 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?

Got it, thanks.

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