Github user kiszk commented on a diff in the pull request: https://github.com/apache/spark/pull/16403#discussion_r94264691 --- Diff: common/unsafe/src/main/java/org/apache/spark/unsafe/Platform.java --- @@ -244,6 +251,18 @@ public static void throwException(Throwable t) { LONG_ARRAY_OFFSET = _UNSAFE.arrayBaseOffset(long[].class); FLOAT_ARRAY_OFFSET = _UNSAFE.arrayBaseOffset(float[].class); DOUBLE_ARRAY_OFFSET = _UNSAFE.arrayBaseOffset(double[].class); + + // determine whether double access should be aligned. + String arch = System.getProperty("os.arch", ""); + if (arch.matches("^(arm|arm32)")) { --- End diff -- Thanks for your clarification. I was afraid that ARM 64 may return `arm`.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org