This is an automated email from the ASF dual-hosted git repository.
dsmiley pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 8cf2f758ea2 benchmark: Remove obsolete JVM biased-locking flags (#5051)
8cf2f758ea2 is described below
commit 8cf2f758ea2915f24e15e42b6810a3ad20591b87
Author: Arup Chauhan <[email protected]>
AuthorDate: Thu Oct 8 10:35:06 2026 -0500
benchmark: Remove obsolete JVM biased-locking flags (#5051)
---
solr/benchmark/jmh.sh | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/solr/benchmark/jmh.sh b/solr/benchmark/jmh.sh
index 30c72b7a2e7..18f9875da19 100755
--- a/solr/benchmark/jmh.sh
+++ b/solr/benchmark/jmh.sh
@@ -51,9 +51,7 @@ echo "running JMH with args: $@"
# -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 # and this note:
Prevents G1 undermining young gen, which otherwise causes a cascade of issues
# MRM: I've also
seen 15 claimed as a sweet spot.
-# -XX:-UseBiasedLocking - should be unreflective in recent JVMs and removed in
the latest.
-
-jvmArgs="-jvmArgs -Djmh.shutdownTimeout=5 -jvmArgs
-Djmh.shutdownTimeout.step=3 -jvmArgs -Djava.security.egd=file:/dev/./urandom
-jvmArgs -XX:-UseBiasedLocking -jvmArgs -XX:+UnlockDiagnosticVMOptions -jvmArgs
-XX:+DebugNonSafepoints -jvmArgs
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED"
+jvmArgs="-jvmArgs -Djmh.shutdownTimeout=5 -jvmArgs
-Djmh.shutdownTimeout.step=3 -jvmArgs -Djava.security.egd=file:/dev/./urandom
-jvmArgs -XX:+UnlockDiagnosticVMOptions -jvmArgs -XX:+DebugNonSafepoints
-jvmArgs --add-opens=java.base/java.lang.reflect=ALL-UNNAMED"
gcArgs="-jvmArgs -XX:+UseG1GC -jvmArgs -XX:+ParallelRefProcEnabled"
# -jvmArgs -Dlog4j2.debug