RFR: [8u] OOME in SurrogateLockerThread deadlocks the GC cycle
Roman Kennke
rkennke at redhat.com
Tue Oct 3 12:52:38 UTC 2017
Am 03.10.2017 um 14:43 schrieb Aleksey Shipilev:
> On 10/03/2017 12:06 PM, Roman Kennke wrote:
>> Looks good.
>> It probably makes sense to evac the pll even before the root processor parallelizes root evac?
> Maybe, maybe not? Current placement guarantees first evac, and keeps the root evacuation code in
> common place, and keeps patch at bare minimum. I like that two last parts about it.
It doesn't exactly guarantee first evac, it just makes it more likely.
There might well be one or more worker threads getting scheduled ahead
of the one that evacs the pll. That's why I proposed to maybe even
explictely evac the pll from the VMThread, even before we spin up the
workers. But this might well be overkill (considering the other parts of
the fix that already ensure smooth handling in case of failure). I leave
the decision up to you :-)
More information about the shenandoah-dev
mailing list