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

William Kemper wkemper at openjdk.org
Wed Sep 27 18:36:12 UTC 2023


On Tue, 26 Sep 2023 12:48:12 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)

This looks good to me. Does the issue also affect 17?

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

PR Comment: https://git.openjdk.org/jdk/pull/15921#issuecomment-1737890063


More information about the hotspot-gc-dev mailing list