hotspot/src/share/vm/oops/cpCacheKlass.cpp
changeset 2010 c13462bbad17
parent 2006 f2d2f0f20063
child 2105 347008ce7984
equal deleted inserted replaced
2009:4adf43957a1b 2010:c13462bbad17
   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,