RFR: 8325553: Parallel: Use per-marker cache for marking stats during Full GC

Albert Mingkun Yang ayang at openjdk.org
Tue Feb 13 09:42:52 UTC 2024


On Mon, 12 Feb 2024 14:19:14 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> have you tried the new SystemGC tests

Yes, it's perf-neutral. The reason is that the obj-size (int-array) used is too large, ~1k bytes. As a result, most per-region live-words updates are done by a single gc-worker: no contention. (If I reduce the obj-size to ~10 bytes, I can see large improvement.)

> To avoid duplicating the logic

The duplication will hopefully be removed after https://github.com/openjdk/jdk/pull/17822

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

PR Comment: https://git.openjdk.org/jdk/pull/17788#issuecomment-1940933542


More information about the hotspot-gc-dev mailing list