equal
deleted
inserted
replaced
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 |