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 and dk2k committed Oct 17, 2024
1 parent 3e37dfd commit 37222b1
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 37222b1

Please sign in to comment.