Strange behaviour on half-occupied heap
Roman Kennke
rkennke at redhat.com
Wed Aug 29 09:49:35 UTC 2018
>> Looks like the original problem fixed, but new very possible related problem opens up with a fix.
>>
>> After a bit of time heap fills with fragmented data.
>> Which results in the increasing rate of collections, pacing delays and finally full GC,
>> while actually there are 350 MB of live data it fills whole 2G heap
>
> This problem is unrelated: it is humongous fragmentation, see the log comments below. This can be
> mitigated by giving Shenandoah larger heap (so that fragmentation goes down, and some humongous
> objects stop being humongous too). Let's see if there are Shenandoah fixes that can help mitigate
> this too.
Or force larger regions so that humongous objects fit into regions and
are no longer humongous: e.g. -XX:ShenandoahHeapRegionSize=32M
Roman
More information about the shenandoah-dev
mailing list