equal
deleted
inserted
replaced
159 cache->entry_at(i)->adjust_pointers(); |
159 cache->entry_at(i)->adjust_pointers(); |
160 return size; |
160 return size; |
161 } |
161 } |
162 |
162 |
163 bool constantPoolCacheKlass::oop_is_conc_safe(oop obj) const { |
163 bool constantPoolCacheKlass::oop_is_conc_safe(oop obj) const { |
164 assert(obj->is_constantPoolCache(), "must be constMethod oop"); |
164 assert(obj->is_constantPoolCache(), "should be constant pool"); |
165 return constantPoolCacheOop(obj)->is_conc_safe(); |
165 return constantPoolCacheOop(obj)->is_conc_safe(); |
166 } |
166 } |
167 |
167 |
168 #ifndef SERIALGC |
168 #ifndef SERIALGC |
169 void constantPoolCacheKlass::oop_copy_contents(PSPromotionManager* pm, |
169 void constantPoolCacheKlass::oop_copy_contents(PSPromotionManager* pm, |