< prev index next >
hotspot/src/share/vm/runtime/vframe.hpp
Print this page
*** 315,324 ****
--- 315,332 ----
Method* method() const { return _method; }
int bci() const { return _bci; }
intptr_t* frame_id() const { return _frame.id(); }
address frame_pc() const { return _frame.pc(); }
+ javaVFrame* java_frame() {
+ vframe* vf = vframe::new_vframe(&_frame, &_reg_map, _thread);
+ if (vf->is_java_frame()) {
+ return (javaVFrame*)vf;
+ }
+ return NULL;
+ }
+
CodeBlob* cb() const { return _frame.cb(); }
nmethod* nm() const {
assert( cb() != NULL && cb()->is_nmethod(), "usage");
return (nmethod*) cb();
}
< prev index next >