RFR: 8262398: Shenandoah: Disable nmethod barrier and stack watermark when running with passive mode [v3]

Zhengyu Gu zgu at openjdk.java.net
Tue Mar 16 16:58:23 UTC 2021


> nmethod barrier and stack watermark allow GC not to process nmethods at GC pauses, and aim to reduce GC latency, they do not benefit STW GCs, who process nmethods at pauses anyway.
> 
> Test:
> 
> - [x] hotspot_gc_shenandoah
> - [x] tier1 with -XX:+UseShenandoahGC
> - [x] tier1 with -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive
> - [x]  tier1 with -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:-ShenandoahDegeneratedGC

Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:

  Aleksey's comments

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2727/files
  - new: https://git.openjdk.java.net/jdk/pull/2727/files/317e7e48..2a45cb02

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2727&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2727&range=01-02

  Stats: 26 lines in 9 files changed: 12 ins; 9 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2727.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2727/head:pull/2727

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



More information about the hotspot-gc-dev mailing list