< prev index next >

agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java

Print this page

        

@@ -61,11 +61,13 @@
       return "x86";
     } else if (cpu.equals("sparc") || cpu.equals("sparcv9")) {
       return "sparc";
     } else if (cpu.equals("ia64") || cpu.equals("amd64") || cpu.equals("x86_64")) {
       return cpu;
-    } else {
+    } else {if (cpu.equals("aarch64")) {
+      return cpu;
+    } else 
       try {
         Class pic = Class.forName("sun.jvm.hotspot.utilities.PlatformInfoClosed");
         AltPlatformInfo api = (AltPlatformInfo)pic.newInstance();
         if (api.knownCPU(cpu)) {
           return cpu;
< prev index next >