< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java

Print this page
@@ -32,10 +32,11 @@
  import sun.jvm.hotspot.runtime.win32_amd64.Win32AMD64JavaThreadPDAccess;
  import sun.jvm.hotspot.runtime.win32_aarch64.Win32AARCH64JavaThreadPDAccess;
  import sun.jvm.hotspot.runtime.linux_x86.LinuxX86JavaThreadPDAccess;
  import sun.jvm.hotspot.runtime.linux_amd64.LinuxAMD64JavaThreadPDAccess;
  import sun.jvm.hotspot.runtime.linux_aarch64.LinuxAARCH64JavaThreadPDAccess;
+ import sun.jvm.hotspot.runtime.linux_riscv64.LinuxRISCV64JavaThreadPDAccess;
  import sun.jvm.hotspot.runtime.linux_ppc64.LinuxPPC64JavaThreadPDAccess;
  import sun.jvm.hotspot.runtime.bsd_x86.BsdX86JavaThreadPDAccess;
  import sun.jvm.hotspot.runtime.bsd_amd64.BsdAMD64JavaThreadPDAccess;
  import sun.jvm.hotspot.runtime.bsd_aarch64.BsdAARCH64JavaThreadPDAccess;
  import sun.jvm.hotspot.utilities.*;

@@ -111,10 +112,12 @@
                  access = new LinuxAMD64JavaThreadPDAccess();
              } else if (cpu.equals("ppc64")) {
                  access = new LinuxPPC64JavaThreadPDAccess();
              } else if (cpu.equals("aarch64")) {
                  access = new LinuxAARCH64JavaThreadPDAccess();
+             } else if (cpu.equals("riscv64")) {
+                 access = new LinuxRISCV64JavaThreadPDAccess();
              } else {
                try {
                  access = (JavaThreadPDAccess)
                    Class.forName("sun.jvm.hotspot.runtime.linux_" +
                       cpu.toLowerCase() + ".Linux" + cpu.toUpperCase() +
< prev index next >