222 |
222 |
223 void InterpreterOopMap::verify() { |
223 void InterpreterOopMap::verify() { |
224 // If we are doing mark sweep _method may not have a valid header |
224 // If we are doing mark sweep _method may not have a valid header |
225 // $$$ This used to happen only for m/s collections; we might want to |
225 // $$$ This used to happen only for m/s collections; we might want to |
226 // think of an appropriate generalization of this distinction. |
226 // think of an appropriate generalization of this distinction. |
227 guarantee(Universe::heap()->is_gc_active() || |
227 guarantee(Universe::heap()->is_gc_active() || _method->is_oop_or_null(), |
228 _method->is_oop_or_null(), "invalid oop in oopMapCache") |
228 "invalid oop in oopMapCache"); |
229 } |
229 } |
230 |
230 |
231 #ifdef ENABLE_ZAP_DEAD_LOCALS |
231 #ifdef ENABLE_ZAP_DEAD_LOCALS |
232 |
232 |
233 void InterpreterOopMap::iterate_all(OffsetClosure* oop_closure, OffsetClosure* value_closure, OffsetClosure* dead_closure) { |
233 void InterpreterOopMap::iterate_all(OffsetClosure* oop_closure, OffsetClosure* value_closure, OffsetClosure* dead_closure) { |