Skip to content

Commit d08dc0e

Browse files
committed
[GR-67177] Failure: daily-vm-ee-graalvm-ni-jck-jdk-26-preserve-all-ee-1/3-windows-amd64
PullRequest: graal/21468
2 parents eca7e0b + c6e4c5d commit d08dc0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/SubstrateOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,9 @@ public static void configureOs(EconomicMap<OptionKey<?>, Object> values) {
396396
ConcealedOptions.CodeAlignment.update(values, 1);
397397
GraalOptions.LoopHeaderAlignment.update(values, 0);
398398
GraalOptions.IsolatedLoopHeaderAlignment.update(values, 0);
399-
if (ConfigurationValues.getTarget().arch instanceof AMD64) {
400-
disable(AMD64Assembler.Options.UseBranchesWithin32ByteBoundary, values);
401-
}
399+
// We cannot check for architecture at the moment because ImageSingletons has not been
400+
// initialized yet
401+
disable(AMD64Assembler.Options.UseBranchesWithin32ByteBoundary, values);
402402

403403
/*
404404
* Do not run PEA - it can fan out allocations too much.

0 commit comments

Comments
 (0)