hotspot/src/share/vm/runtime/frame.cpp
changeset 30144 b009de0c0cef
parent 29084 1b732f2836ce
child 30764 fec48bf5a827
equal deleted inserted replaced
30136:1c5202fa105b 30144:b009de0c0cef
  1102 
  1102 
  1103 
  1103 
  1104 // call f() on the interpreted Method*s in the stack.
  1104 // call f() on the interpreted Method*s in the stack.
  1105 // Have to walk the entire code cache for the compiled frames Yuck.
  1105 // Have to walk the entire code cache for the compiled frames Yuck.
  1106 void frame::metadata_do(void f(Metadata*)) {
  1106 void frame::metadata_do(void f(Metadata*)) {
  1107   if (_cb != NULL && Interpreter::contains(pc())) {
  1107   if (is_interpreted_frame()) {
  1108     Method* m = this->interpreter_frame_method();
  1108     Method* m = this->interpreter_frame_method();
  1109     assert(m != NULL, "huh?");
  1109     assert(m != NULL, "expecting a method in this frame");
  1110     f(m);
  1110     f(m);
  1111   }
  1111   }
  1112 }
  1112 }
  1113 
  1113 
  1114 # ifdef ENABLE_ZAP_DEAD_LOCALS
  1114 # ifdef ENABLE_ZAP_DEAD_LOCALS