src/share/vm/runtime/frame.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8076421 Cdiff src/share/vm/runtime/frame.cpp

src/share/vm/runtime/frame.cpp

Print this page

        

*** 1102,1114 **** // call f() on the interpreted Method*s in the stack. // Have to walk the entire code cache for the compiled frames Yuck. void frame::metadata_do(void f(Metadata*)) { ! if (_cb != NULL && Interpreter::contains(pc())) { Method* m = this->interpreter_frame_method(); ! assert(m != NULL, "huh?"); f(m); } } # ifdef ENABLE_ZAP_DEAD_LOCALS --- 1102,1114 ---- // call f() on the interpreted Method*s in the stack. // Have to walk the entire code cache for the compiled frames Yuck. void frame::metadata_do(void f(Metadata*)) { ! if (is_interpreted_frame()) { Method* m = this->interpreter_frame_method(); ! assert(m != NULL, "expecting a method in this frame"); f(m); } } # ifdef ENABLE_ZAP_DEAD_LOCALS
src/share/vm/runtime/frame.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File