hotspot/src/share/vm/utilities/vmError.cpp
changeset 7447 32c42d627f41
parent 7397 5b173b4ca846
child 7719 ef138e2849eb
--- a/hotspot/src/share/vm/utilities/vmError.cpp	Tue Nov 23 13:22:55 2010 -0800
+++ b/hotspot/src/share/vm/utilities/vmError.cpp	Sat Dec 11 13:20:56 2010 -0500
@@ -33,6 +33,7 @@
 #include "runtime/vmThread.hpp"
 #include "runtime/vm_operations.hpp"
 #include "utilities/debug.hpp"
+#include "utilities/decoder.hpp"
 #include "utilities/defaultStream.hpp"
 #include "utilities/top.hpp"
 #include "utilities/vmError.hpp"
@@ -516,8 +517,10 @@
        if (fr.pc()) {
           st->print_cr("Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)");
 
+          // initialize decoder to decode C frames
+          Decoder decoder;
+
           int count = 0;
-
           while (count++ < StackPrintLimit) {
              fr.print_on_error(st, buf, sizeof(buf));
              st->cr();