src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6961690 Cdiff src/share/vm/utilities/debug.cpp

src/share/vm/utilities/debug.cpp

Print this page
rev 1838 : 6961690: load oops from constant table on SPARC
Summary: oops should be loaded from the constant table of an nmethod instead of materializing them with a long code sequence.
Reviewed-by:

*** 359,370 **** --- 359,376 ---- extern "C" void disnm(intptr_t p) { Command c("disnm"); CodeBlob* cb = CodeCache::find_blob((address) p); + nmethod* nm = cb->as_nmethod_or_null(); + if (nm) { + nm->print(); + Disassembler::decode(nm); + } else { cb->print(); Disassembler::decode(cb); + } } extern "C" void printnm(intptr_t p) { char buffer[256];
src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File