mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
Merge
This commit is contained in:
commit
16f3142152
188 changed files with 2028 additions and 1175 deletions
|
@ -387,7 +387,6 @@ void frame::interpreter_frame_set_locals(intptr_t* locs) {
|
|||
Method* frame::interpreter_frame_method() const {
|
||||
assert(is_interpreted_frame(), "interpreted frame expected");
|
||||
Method* m = *interpreter_frame_method_addr();
|
||||
assert(m->is_metadata(), "bad Method* in interpreter frame");
|
||||
assert(m->is_method(), "not a Method*");
|
||||
return m;
|
||||
}
|
||||
|
@ -713,7 +712,8 @@ void frame::print_on_error(outputStream* st, char* buf, int buflen, bool verbose
|
|||
Method* m = ((nmethod *)_cb)->method();
|
||||
if (m != NULL) {
|
||||
m->name_and_sig_as_C_string(buf, buflen);
|
||||
st->print("J %s", buf);
|
||||
st->print("J %s @ " PTR_FORMAT " [" PTR_FORMAT "+" SIZE_FORMAT "]",
|
||||
buf, _pc, _cb->code_begin(), _pc - _cb->code_begin());
|
||||
} else {
|
||||
st->print("J " PTR_FORMAT, pc());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue