< prev index next >

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

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -48,11 +48,11 @@
      }
    }
  
    public static boolean knownCPU(String cpu) {
      final String[] KNOWN =
-         new String[] {"i386", "x86", "x86_64", "amd64", "ppc64", "ppc64le", "aarch64"};
+         new String[] {"i386", "x86", "x86_64", "amd64", "ppc64", "ppc64le", "aarch64", "riscv64"};
  
      for(String s : KNOWN) {
        if(s.equals(cpu))
          return true;
      }
< prev index next >