RFR: 8257817: Shenandoah: Don't race with conc-weak-in-progress flag in weak-LRB

Zhengyu Gu zgu at openjdk.java.net
Mon Dec 7 18:36:21 UTC 2020


After concurrent weak root processing, it should perform handshake first to ensure there are no dirty loads (loads have yet processed by barriers) in Java thread, before it resets conc-weak-root-in-progress flag.

- [x] hotspot_gc_shenandoah

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

Commit messages:
 - JDK-8257817

Changes: https://git.openjdk.java.net/jdk/pull/1673/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1673&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257817
  Stats: 7 lines in 1 file changed: 4 ins; 3 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1673.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1673/head:pull/1673

PR: https://git.openjdk.java.net/jdk/pull/1673



More information about the hotspot-gc-dev mailing list