Skip to content

CASSANALYTICS-188: Expand list of architecture that supports unaligned access in FastByteOperations - #229

Merged
sarankk merged 2 commits into
apache:trunkfrom
sarankk:add-missing-hardware-types
Aug 4, 2026
Merged

CASSANALYTICS-188: Expand list of architecture that supports unaligned access in FastByteOperations #229
sarankk merged 2 commits into
apache:trunkfrom
sarankk:add-missing-hardware-types

Conversation

@sarankk

@sarankk sarankk commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@sarankk
sarankk requested a review from yifan-c August 4, 2026 17:58
{
String arch = System.getProperty("os.arch");
boolean unaligned = arch.equals("i386") || arch.equals("x86") || arch.equals("x86_64") || arch.equals("amd64");
boolean unaligned = arch.equals("i386")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the same disclaimer as in Cassandra source code.

    // Note that s390x, aarch64, & ppc64le architectures are not officially supported and adding them here is only done out
    // of convenience for those that want to run C* on these architectures at their own risk (see #11214, #13326, & #13615)

#11214 refers to CASSANDRA-11214

@frankgh frankgh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@sarankk
sarankk merged commit 5efb86c into apache:trunk Aug 4, 2026
51 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants