Skip to content

Commit

Permalink
JDK-23: Mitigation for https://bugs.openjdk.org/browse/JDK-8341127 is…
Browse files Browse the repository at this point in the history
…sue (performance regression) (opensearch-project#16342)

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Oct 16, 2024
1 parent a853b75 commit d404359
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions distribution/src/config/jvm.options
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,7 @@ ${error.file}

# HDFS ForkJoinPool.common() support by SecurityManager
-Djava.util.concurrent.ForkJoinPool.common.threadFactory=org.opensearch.secure_sm.SecuredForkJoinWorkerThreadFactory

# See please https://bugs.openjdk.org/browse/JDK-8341127 (openjdk/jdk#21283)
23:-XX:CompileCommand=dontinline,java/lang/invoke/MethodHandle.setAsTypeCache
23:-XX:CompileCommand=dontinline,java/lang/invoke/MethodHandle.asTypeUncached

0 comments on commit d404359

Please sign in to comment.