RFR: Handle metadata induced GC

Zhengyu Gu zgu at redhat.com
Mon Oct 29 13:53:01 UTC 2018


On 10/29/2018 08:40 AM, Aleksey Shipilev wrote:
> On 10/26/2018 05:52 PM, Zhengyu Gu wrote:
>> Updated patch is based on current head without any refactoring.
>>
>> Instead of introducing asynchronous GC, the new approach communicates metaspace OOM by informing GC
>> heuristics, and allows it to start new GC cycle early and performs classes unloading, etc.
>>
>> http://cr.openjdk.java.net/~zgu/shenandoah/metadata_gc/webrev.01/
> 
> All right!
> 
> It still feels awkward to force Full GC on Metaspace OOM. We can technically do the concurrent cycle
> with class unloading enabled, are we? This can be a good follow-up.
I guess so.

> 
> I think you can make _metaspace_oom cleaner if you reuse ShenandoahSharedFlag.

Oh, yes.

Updated: http://cr.openjdk.java.net/~zgu/shenandoah/metadata_gc/webrev.02/

Okay?

Thanks,

-Zhengyu

> 
> -Aleksey
> 
> 


More information about the shenandoah-dev mailing list