We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea3966 commit ca80c22Copy full SHA for ca80c22
src/main/java/ai/timefold/solver/benchmarks/micro/common/AbstractMain.java
@@ -178,7 +178,7 @@ public ChainedOptionsBuilder getBaseJmhConfig(C configuration) {
178
.forks(configuration.getForkCount())
179
.warmupIterations(configuration.getWarmupIterations())
180
.measurementIterations(configuration.getMeasurementIterations())
181
- .jvmArgs("-XX:+UseParallelGC", "-Xmx2g") // Stable, predictable GC pause times.
+ .jvmArgs("-XX:+UseSerialGC", "-Xmx2g") // Throughput-focused GC.
182
.result(resultsDirectory.resolve("results.json").toAbsolutePath().toString())
183
.resultFormat(ResultFormatType.JSON)
184
.shouldDoGC(true);
0 commit comments