2174 Metadata* md = r->metadata_value(); |
2174 Metadata* md = r->metadata_value(); |
2175 if (md != _method) f(md); |
2175 if (md != _method) f(md); |
2176 } |
2176 } |
2177 } else if (iter.type() == relocInfo::virtual_call_type) { |
2177 } else if (iter.type() == relocInfo::virtual_call_type) { |
2178 // Check compiledIC holders associated with this nmethod |
2178 // Check compiledIC holders associated with this nmethod |
|
2179 ResourceMark rm; |
2179 CompiledIC *ic = CompiledIC_at(&iter); |
2180 CompiledIC *ic = CompiledIC_at(&iter); |
2180 if (ic->is_icholder_call()) { |
2181 if (ic->is_icholder_call()) { |
2181 CompiledICHolder* cichk = ic->cached_icholder(); |
2182 CompiledICHolder* cichk = ic->cached_icholder(); |
2182 f(cichk->holder_metadata()); |
2183 f(cichk->holder_metadata()); |
2183 f(cichk->holder_klass()); |
2184 f(cichk->holder_klass()); |