[External] : Re: Need help with ZGC failure in Lilliput

Roman Kennke rkennke at redhat.com
Wed Jul 21 09:12:25 UTC 2021


>> The problem always happens during weak storage scan. Inflation of a lock
>> creates new weak handle that points back to the object. I suspect that, at the
>> very least, this must not point to the old copy of that object. I need to think this
>> through.
> 
> Is the lock inflation provoked by the GC thread itself, as a side effect of reading the klass?

Yes. The more I think about it, the more I come to the conclusion that 
this might be a no-go, except maybe for a dirty prototype (which is my 
current goal, tbh).

Can you share more about Robbin's work? Because this sounds like it 
would help avoid such problems.

Thanks,
Roman



More information about the zgc-dev mailing list