From c2e99cdd91954c8bb051145932ba676f3962b88c Mon Sep 17 00:00:00 2001 From: David Baker Effendi Date: Fri, 6 Sep 2024 16:16:51 +0200 Subject: [PATCH] Enabling string deduplication --- src/main/scala/com/github/plume/oss/Benchmark.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/github/plume/oss/Benchmark.scala b/src/main/scala/com/github/plume/oss/Benchmark.scala index 977ffac1..7a9541a1 100644 --- a/src/main/scala/com/github/plume/oss/Benchmark.scala +++ b/src/main/scala/com/github/plume/oss/Benchmark.scala @@ -75,7 +75,7 @@ object Benchmark { .output(s"${config.jmhOutputFile}-${benchmarkType.toString.toLowerCase}.txt") .result(s"${config.jmhResultFile}-${benchmarkType.toString.toLowerCase}.csv") .param("configStr", write(config)) - .jvmArgsAppend(s"-Xmx${config.jmhMemoryGb}G", "-XX:+UseZGC") + .jvmArgsAppend(s"-Xmx${config.jmhMemoryGb}G", "-XX:+UseZGC", "-XX:+UseStringDeduplication") } enum BenchmarkType {