Skip to content

Commit d404359

Browse files
authored
JDK-23: Mitigation for https://bugs.openjdk.org/browse/JDK-8341127 issue (performance regression) (#16342)
Signed-off-by: Andriy Redko <[email protected]>
1 parent a853b75 commit d404359

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

distribution/src/config/jvm.options

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,7 @@ ${error.file}
8585

8686
# HDFS ForkJoinPool.common() support by SecurityManager
8787
-Djava.util.concurrent.ForkJoinPool.common.threadFactory=org.opensearch.secure_sm.SecuredForkJoinWorkerThreadFactory
88+
89+
# See please https://bugs.openjdk.org/browse/JDK-8341127 (openjdk/jdk#21283)
90+
23:-XX:CompileCommand=dontinline,java/lang/invoke/MethodHandle.setAsTypeCache
91+
23:-XX:CompileCommand=dontinline,java/lang/invoke/MethodHandle.asTypeUncached

0 commit comments

Comments
 (0)