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

Zhengyu Gu zgu at openjdk.org
Mon Oct 2 13:48:58 UTC 2023


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15921/files
  - new: https://git.openjdk.org/jdk/pull/15921/files/c1e9cf27..4f41dc14

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15921&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15921&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15921.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15921/head:pull/15921

PR: https://git.openjdk.org/jdk/pull/15921


More information about the hotspot-gc-dev mailing list