mirror of https://github.com/apache/cassandra
Support unaligned memory access for AArch64
patch by yuqi, reviewed by jasobrown for CASSANDRA-13326
This commit is contained in:
parent
a2399d4d30
commit
6e76bbb3fa
|
|
@ -1,4 +1,5 @@
|
|||
3.11.0
|
||||
* Support unaligned memory access for AArch64 (CASSANDRA-13326)
|
||||
* Improve SASI range iterator efficiency on intersection with an empty range (CASSANDRA-12915).
|
||||
* Fix equality comparisons of columns using the duration type (CASSANDRA-13174)
|
||||
* Obfuscate password in stress-graphs (CASSANDRA-12233)
|
||||
|
|
|
|||
|
|
@ -26,14 +26,15 @@ import com.google.common.collect.Sets;
|
|||
|
||||
public final class Architecture
|
||||
{
|
||||
// Note that s390x architecture are not officially supported and adding it here is only done out of convenience
|
||||
// for those that want to run C* on this architecture at their own risk (see #11214)
|
||||
// Note that s390x & aarch64 architecture are not officially supported and adding it here is only done out of convenience
|
||||
// for those that want to run C* on this architecture at their own risk (see #11214 & #13326)
|
||||
private static final Set<String> UNALIGNED_ARCH = Collections.unmodifiableSet(Sets.newHashSet(
|
||||
"i386",
|
||||
"x86",
|
||||
"amd64",
|
||||
"x86_64",
|
||||
"s390x"
|
||||
"s390x",
|
||||
"aarch64"
|
||||
));
|
||||
|
||||
public static final boolean IS_UNALIGNED = UNALIGNED_ARCH.contains(System.getProperty("os.arch"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue