Skip to content

Commit

Permalink
BenchmarksRunner does not override jvm args of forked processes. (#12097
Browse files Browse the repository at this point in the history
)

Fixes "PolyglotException: No language of id epb found". Turns out that we have accidentally overridden all the arguments to forked JVMs of JMH to just `-Dbench.all=true`.

Now, `sbt std-benchmarks/bench` works also locally. Before this PR, they also failed locally.
  • Loading branch information
Akirathan authored Jan 22, 2025
1 parent 1f5ba9d commit a1e01fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class BenchmarksRunner {

public static void run(String[] args) throws RunnerException {
if (args.length == 0) {
args = new String[] {"--jvmArgs=-Dbench.all=true"};
args = new String[] {"--jvmArgsPrepend=-Dbench.all=true"};
}
CommandLineOptions cmdOpts = null;
try {
Expand Down

0 comments on commit a1e01fc

Please sign in to comment.