< prev index next >

agent/src/share/classes/sun/jvm/hotspot/HSDB.java

Print this page

        

@@ -990,11 +990,12 @@
             if (curFrame.getFP() != null) {
               annoPanel.addAnnotation(new Annotation(curFrame.getSP(),
                                                      curFrame.getFP(),
                                                      anno));
             } else {
-              if (VM.getVM().getCPU().equals("x86") || VM.getVM().getCPU().equals("amd64")) {
+              if (VM.getVM().getCPU().equals("x86") || VM.getVM().getCPU().equals("amd64") ||
+                  VM.getVM().getCPU().equals("aarch64")) {
                 // For C2, which has null frame pointers on x86/amd64
                 CodeBlob cb = VM.getVM().getCodeCache().findBlob(curFrame.getPC());
                 Address sp = curFrame.getSP();
                 if (Assert.ASSERTS_ENABLED) {
                   Assert.that(cb.getFrameSize() > 0, "CodeBlob must have non-zero frame size");
< prev index next >