RFR: 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries [v4]

Aleksey Shipilev shade at openjdk.org
Mon Oct 2 14:32:14 UTC 2023


On Mon, 2 Oct 2023 13:48:58 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

>> During STW root scan, interpreted frame's oop map may be cached. But due to limited cache size (32 entries per instance class), entries may be evicted to old entries list due to collision, should be cleanup in VM_Operation's doit_epilogue(), or risk leaking memory.
>> 
>> Test:
>>   hotspot_gc_shenandoah (fastdebug and release on MacOSX)
>
> Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   More cleanup

Looks fine, thanks!

-------------

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15921#pullrequestreview-1652875148


More information about the hotspot-gc-dev mailing list