RFC: Safe OOM during evac

Roman Kennke rkennke at redhat.com
Fri Oct 20 13:24:35 UTC 2017


Am 20.10.2017 um 15:22 schrieb Zhengyu Gu:
>
>
> On 10/20/2017 09:18 AM, Roman Kennke wrote:
>> Do GC workers update stuff in oops after evacuation? 
> Yes, this is what string dedup currently doing.
>
> Then yes, we need
>> to make GC workers follow this protocol too. I haven't done this in 
>> my prototype because GC workers during evacuation do not actually 
>> write to the evacuated oops, and therefore don't care.
>
> Is this the direction we are heading? 'cause I would need to revive 
> pin_object() patch
Currently we're heading nowhere :-) I'm building a prototype to try to 
make a safe OOM-during-evac handling. If string dedup does modify 
evacuated objects, I'll make this safe OOM-during-evac handling for GC 
workers too. That should resolve your problem, right?

Roman


More information about the shenandoah-dev mailing list