Mercurial > hg > truffle
diff src/share/vm/utilities/vmError.cpp @ 2044:06f017f7daa7
Merge.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Fri, 07 Jan 2011 18:18:08 +0100 |
parents | 2d4762ec74af |
children | 36c186bcc085 |
line wrap: on
line diff
--- a/src/share/vm/utilities/vmError.cpp Wed Dec 29 20:06:41 2010 +0100 +++ b/src/share/vm/utilities/vmError.cpp Fri Jan 07 18:18:08 2011 +0100 @@ -22,8 +22,21 @@ * */ -# include "incls/_precompiled.incl" -# include "incls/_vmError.cpp.incl" +#include "precompiled.hpp" +#include "compiler/compileBroker.hpp" +#include "gc_interface/collectedHeap.hpp" +#include "runtime/arguments.hpp" +#include "runtime/frame.inline.hpp" +#include "runtime/init.hpp" +#include "runtime/os.hpp" +#include "runtime/thread.hpp" +#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" // List of environment variables that should be reported in error log file. const char *env_list[] = { @@ -504,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();