changeset 19597:dcfdd60edaf1

Print full ScopeDesc with PrintDebugInfo
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 25 Feb 2015 19:05:03 -0800
parents 1deff4ac56c3
children 15ef24874df7
files src/share/vm/code/nmethod.cpp
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp	Wed Feb 25 19:03:26 2015 -0800
+++ b/src/share/vm/code/nmethod.cpp	Wed Feb 25 19:05:03 2015 -0800
@@ -2749,7 +2749,10 @@
       continue;
 
     ScopeDesc* sd = scope_desc_at(p->real_pc(this));
-    sd->print_on(tty, p);
+    while (sd != NULL) {
+      sd->print_on(tty, p);
+      sd = sd->sender();
+    }
   }
 }