Mercurial > hg > truffle
diff src/share/vm/runtime/vframe.cpp @ 1938:1aa5b22a7716
Support for custom stack area (needed for deoptimization).
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Mon, 27 Dec 2010 14:22:55 +0100 |
parents | c18cbe5936b8 |
children | 06f017f7daa7 |
line wrap: on
line diff
--- a/src/share/vm/runtime/vframe.cpp Thu Dec 23 22:14:31 2010 +0100 +++ b/src/share/vm/runtime/vframe.cpp Mon Dec 27 14:22:55 2010 +0100 @@ -549,6 +549,14 @@ if (size > 4*K) warning("SUSPICIOUSLY LARGE FRAME (%d)", size); #endif } + + tty->print_cr(""); + int i = -1; + for (intptr_t* a = _fr.sp() - 1; a <= _fr.fp(); a++) { + oop o = (oop)(*a); + tty->print_cr("sp[%d] = " INTPTR_FORMAT " (%d)", i, *a, o->is_oop()); + ++i; + } }