< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java

Print this page
*** 34,10 ***
--- 34,11 ---
  import sun.jvm.hotspot.debugger.JVMDebugger;
  import sun.jvm.hotspot.debugger.MachineDescription;
  import sun.jvm.hotspot.debugger.MachineDescriptionAMD64;
  import sun.jvm.hotspot.debugger.MachineDescriptionPPC64;
  import sun.jvm.hotspot.debugger.MachineDescriptionAArch64;
+ import sun.jvm.hotspot.debugger.MachineDescriptionRISCV64;
  import sun.jvm.hotspot.debugger.MachineDescriptionIntelX86;
  import sun.jvm.hotspot.debugger.NoSuchSymbolException;
  import sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal;
  import sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal;
  import sun.jvm.hotspot.debugger.remote.RemoteDebugger;

*** 567,10 ***
--- 568,12 ---
              machDesc = new MachineDescriptionAMD64();
          } else if (cpu.equals("ppc64")) {
              machDesc = new MachineDescriptionPPC64();
          } else if (cpu.equals("aarch64")) {
              machDesc = new MachineDescriptionAArch64();
+         } else if (cpu.equals("riscv64")) {
+             machDesc = new MachineDescriptionRISCV64();
          } else {
            try {
              machDesc = (MachineDescription)
                Class.forName("sun.jvm.hotspot.debugger.MachineDescription" +
                              cpu.toUpperCase()).getDeclaredConstructor().newInstance();
< prev index next >