Skip to content

Commit b999c1f

Browse files
committed
Set -XX:InlineSmallCode=2500 for all JDKs
1 parent 5f7d04b commit b999c1f

File tree

1 file changed

+1
-1
lines changed
  • jsoniter-scala-benchmark/shared/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/benchmark

1 file changed

+1
-1
lines changed

jsoniter-scala-benchmark/shared/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/benchmark/CommonParams.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import org.openjdk.jmh.annotations._
2525
"-XX:+UseParallelGC",
2626
"-XX:-UseAdaptiveSizePolicy",
2727
"-XX:MaxInlineLevel=20",
28-
// "-XX:InlineSmallCode=1500",
28+
"-XX:InlineSmallCode=2500", // Use defaults from Open JDK 17+
2929
"-XX:+AlwaysPreTouch",
3030
"-XX:-UseDynamicNumberOfGCThreads",
3131
"-XX:+UseNUMA",

0 commit comments

Comments
 (0)