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

Zhengyu Gu zgu at openjdk.org
Fri Sep 29 21:37:34 UTC 2023


On Wed, 27 Sep 2023 18:33:00 GMT, William Kemper <wkemper 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?

@earthling-amzn @rkennke @shipilev Could you please review? Thanks!

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

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


More information about the shenandoah-dev mailing list