RFR: 8324186: AARCH64: Use "dmb.ishst+dmb.ishld" for release barrier [v4]
kuaiwei
duke at openjdk.org
Fri Jan 26 05:43:00 UTC 2024
> Details is https://mail.openjdk.org/pipermail/hotspot-compiler-dev/2024-January/071921.html.
> Using a combined dmb.ish for release barrier will introduce a heavy storeload barrier. Use "dmb.ishst+dmb.ishld" pair instead, we can gain performance improvement on N1 and N2 architecture. The benchmark is test/micro/org/openjdk/bench/vm/compiler/FinalFieldInitialize.java
> Run with ParallelGC to minimalize impact of gc barrier.
>
> make test TEST="micro:org.openjdk.bench.vm.compiler.FinalFieldInitialize" MICRO="VM_OPTIONS=-XX:+UseParallelGC"
> ...
> FinalFieldInitialize.testAllocWithFinal thrpt 9 1411.601 ? 6.546 ops/s
>
> Without the patch
>
> FinalFieldInitialize.testAllocWithFinal thrpt 9 1214.575 ? 14.217 ops/s
kuaiwei has updated the pull request incrementally with one additional commit since the last revision:
change AlwaysMergeDMB diagnostic option
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17511/files
- new: https://git.openjdk.org/jdk/pull/17511/files/056c1859..b842951d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17511&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17511&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/17511.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17511/head:pull/17511
PR: https://git.openjdk.org/jdk/pull/17511
More information about the hotspot-dev
mailing list