Skip to content

Commit 49705f9

Browse files
committed
re-enable multiple threads
1 parent 41fb4a7 commit 49705f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/NativeImageOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public static CStandards getCStandard() {
147147
* Configures the number of threads used by the {@link CompletionExecutor}.
148148
*/
149149
@Option(help = "The maximum number of threads to use concurrently during native image generation.")//
150-
public static final HostedOptionKey<Integer> NumberOfThreads = new HostedOptionKey<>(Math.min(Runtime.getRuntime().availableProcessors(), 1));
150+
public static final HostedOptionKey<Integer> NumberOfThreads = new HostedOptionKey<>(Math.min(Runtime.getRuntime().availableProcessors(), 32));
151151

152152
/*
153153
* Analysis scales well up to 12 cores and gives slight improvements until 18 cores. We set the

0 commit comments

Comments
 (0)