mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
6961690: load oops from constant table on SPARC
Oops should be loaded from the constant table of an nmethod instead of materializing them with a long code sequence. Reviewed-by: never, kvn
This commit is contained in:
parent
ab725dba1d
commit
ffaadcecea
31 changed files with 1795 additions and 830 deletions
|
@ -399,8 +399,14 @@ extern "C" void nm(intptr_t p) {
|
|||
extern "C" void disnm(intptr_t p) {
|
||||
Command c("disnm");
|
||||
CodeBlob* cb = CodeCache::find_blob((address) p);
|
||||
cb->print();
|
||||
Disassembler::decode(cb);
|
||||
nmethod* nm = cb->as_nmethod_or_null();
|
||||
if (nm) {
|
||||
nm->print();
|
||||
Disassembler::decode(nm);
|
||||
} else {
|
||||
cb->print();
|
||||
Disassembler::decode(cb);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue