You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2019/09/19 12:05:22 UTC

[flink] 03/07: [FLINK-13449][core] Add ARM architecture to MemoryArchitecture

This is an automated email from the ASF dual-hosted git repository.

sewen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 07f86e6eeeadefc6621e13987b0158dd0018c614
Author: Yikun Jiang <yi...@gmail.com>
AuthorDate: Tue Jul 30 15:55:33 2019 +0800

    [FLINK-13449][core] Add ARM architecture to MemoryArchitecture
    
    This patch adds 'aarch64' for ARM64/AARCH64 to the known 64 bit memory architectures.
    
    This closes #9273
---
 flink-core/src/main/java/org/apache/flink/util/MemoryArchitecture.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-core/src/main/java/org/apache/flink/util/MemoryArchitecture.java b/flink-core/src/main/java/org/apache/flink/util/MemoryArchitecture.java
index 3672921..87451d4 100755
--- a/flink-core/src/main/java/org/apache/flink/util/MemoryArchitecture.java
+++ b/flink-core/src/main/java/org/apache/flink/util/MemoryArchitecture.java
@@ -60,7 +60,7 @@ public enum MemoryArchitecture {
 	private static MemoryArchitecture getInternal() {
 		// putting these into the method to avoid having objects on the heap that are not needed
 		// any more after initialization
-		final List<String> names64bit = Arrays.asList("amd64", "x86_64");
+		final List<String> names64bit = Arrays.asList("amd64", "x86_64", "aarch64");
 		final List<String> names32bit = Arrays.asList("x86", "i386", "i486", "i586", "i686");
 		final String arch = System.getProperty("os.arch");