--- old/src/share/vm/utilities/vmError.cpp Fri Jul 15 13:02:17 2011 +++ new/src/share/vm/utilities/vmError.cpp Fri Jul 15 13:02:16 2011 @@ -453,6 +453,8 @@ ); STEP(60, "(printing problematic frame)") + // initialize decoder to decode C frames + Decoder decoder; // Print current frame if we have a context (i.e. it's a crash) if (_context) { @@ -566,9 +568,6 @@ 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));