RFR: 8305368: G1 remset chunk claiming may use relaxed memory ordering

Thomas Schatzl tschatzl at openjdk.org
Fri Mar 31 11:23:10 UTC 2023


Hi all,

  please review this minor change that changes the atomic increment for claiming chunks during scanning remembered sets to use relaxed memory ordering.
Nothing depends on that, and nothing should. No particular performance improvements (expected; on x86 all atomics are "conservative" anyway).

Testing: local compilation, gha

Thanks,
  Thomas

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

Commit messages:
 - Initial version

Changes: https://git.openjdk.org/jdk/pull/13266/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13266&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305368
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13266.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13266/head:pull/13266

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


More information about the hotspot-gc-dev mailing list