Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/frame.cpp @ 11065:cedf20e2a655
Merge
author | coleenp |
---|---|
date | Tue, 02 Jul 2013 16:54:24 +0200 |
parents | e0c9a1d29eb4 |
children | e619a2766bcc 583211d4b16b |
comparison
equal
deleted
inserted
replaced
11064:de2d15ce3d4a | 11065:cedf20e2a655 |
---|---|
385 } | 385 } |
386 | 386 |
387 Method* frame::interpreter_frame_method() const { | 387 Method* frame::interpreter_frame_method() const { |
388 assert(is_interpreted_frame(), "interpreted frame expected"); | 388 assert(is_interpreted_frame(), "interpreted frame expected"); |
389 Method* m = *interpreter_frame_method_addr(); | 389 Method* m = *interpreter_frame_method_addr(); |
390 assert(m->is_metadata(), "bad Method* in interpreter frame"); | |
391 assert(m->is_method(), "not a Method*"); | 390 assert(m->is_method(), "not a Method*"); |
392 return m; | 391 return m; |
393 } | 392 } |
394 | 393 |
395 void frame::interpreter_frame_set_method(Method* method) { | 394 void frame::interpreter_frame_set_method(Method* method) { |
711 st->print("v ~BufferBlob::%s", ((BufferBlob *)_cb)->name()); | 710 st->print("v ~BufferBlob::%s", ((BufferBlob *)_cb)->name()); |
712 } else if (_cb->is_nmethod()) { | 711 } else if (_cb->is_nmethod()) { |
713 Method* m = ((nmethod *)_cb)->method(); | 712 Method* m = ((nmethod *)_cb)->method(); |
714 if (m != NULL) { | 713 if (m != NULL) { |
715 m->name_and_sig_as_C_string(buf, buflen); | 714 m->name_and_sig_as_C_string(buf, buflen); |
716 st->print("J %s", buf); | 715 st->print("J %s @ " PTR_FORMAT " [" PTR_FORMAT "+" SIZE_FORMAT "]", |
716 buf, _pc, _cb->code_begin(), _pc - _cb->code_begin()); | |
717 } else { | 717 } else { |
718 st->print("J " PTR_FORMAT, pc()); | 718 st->print("J " PTR_FORMAT, pc()); |
719 } | 719 } |
720 } else if (_cb->is_runtime_stub()) { | 720 } else if (_cb->is_runtime_stub()) { |
721 st->print("v ~RuntimeStub::%s", ((RuntimeStub *)_cb)->name()); | 721 st->print("v ~RuntimeStub::%s", ((RuntimeStub *)_cb)->name()); |