Support unaligned memory access for AArch64

patch by yuqi, reviewed by jasobrown for CASSANDRA-13326
This commit is contained in:
yuqilinaro 2017-03-15 07:06:33 +00:00 committed by Jason Brown
parent a2399d4d30
commit 6e76bbb3fa
2 changed files with 5 additions and 3 deletions

View File

@ -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)

View File

@ -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"));