Skip to content

Commit a1e01fc

Browse files
authored
BenchmarksRunner does not override jvm args of forked processes. (#12097)
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.
1 parent 1f5ba9d commit a1e01fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java/benchmarks-common/src/main/java/org/enso/interpreter/bench/BenchmarksRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class BenchmarksRunner {
2727

2828
public static void run(String[] args) throws RunnerException {
2929
if (args.length == 0) {
30-
args = new String[] {"--jvmArgs=-Dbench.all=true"};
30+
args = new String[] {"--jvmArgsPrepend=-Dbench.all=true"};
3131
}
3232
CommandLineOptions cmdOpts = null;
3333
try {

0 commit comments

Comments
 (0)