File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
truffle/src/com.oracle.truffle.api/src/com/oracle/truffle/api/memory Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ private ByteArraySupports() {
8080 static {
8181 // We only use Unsafe for platforms that we know support it, and that support unaligned
8282 // accesses.
83- if (System .getProperty ("os.arch" ).equals ("x86-64 " ) || System .getProperty ("os.arch" ).equals ("aarch64" ) || System .getProperty ("os.arch" ).equals ("amd64" )) {
83+ if (System .getProperty ("os.arch" ).equals ("x86_64 " ) || System .getProperty ("os.arch" ).equals ("aarch64" ) || System .getProperty ("os.arch" ).equals ("amd64" )) {
8484 final ByteArraySupport nativeOrder = new CheckedByteArraySupport (new UnsafeByteArraySupport ());
8585 if (ByteOrder .nativeOrder () == ByteOrder .BIG_ENDIAN ) {
8686 BIG_ENDIAN = nativeOrder ;
You can’t perform that action at this time.
0 commit comments