Skip to content

Commit

Permalink
ci: use serial GC instead of parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
triceo committed Oct 11, 2024
1 parent 8ea3966 commit ca80c22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public ChainedOptionsBuilder getBaseJmhConfig(C configuration) {
.forks(configuration.getForkCount())
.warmupIterations(configuration.getWarmupIterations())
.measurementIterations(configuration.getMeasurementIterations())
.jvmArgs("-XX:+UseParallelGC", "-Xmx2g") // Stable, predictable GC pause times.
.jvmArgs("-XX:+UseSerialGC", "-Xmx2g") // Throughput-focused GC.
.result(resultsDirectory.resolve("results.json").toAbsolutePath().toString())
.resultFormat(ResultFormatType.JSON)
.shouldDoGC(true);
Expand Down

0 comments on commit ca80c22

Please sign in to comment.