src/hotspot/share/oops/cpCache.cpp
changeset 58447 319173c62caa
parent 55105 9ad765641e8f
child 58679 9c3209ff7550
child 59056 15936b142f86
equal deleted inserted replaced
58446:5c83830390ba 58447:319173c62caa
   706 void ConstantPoolCache::remove_unshareable_info() {
   706 void ConstantPoolCache::remove_unshareable_info() {
   707   walk_entries_for_initialization(/*check_only = */ false);
   707   walk_entries_for_initialization(/*check_only = */ false);
   708 }
   708 }
   709 
   709 
   710 void ConstantPoolCache::walk_entries_for_initialization(bool check_only) {
   710 void ConstantPoolCache::walk_entries_for_initialization(bool check_only) {
   711   assert(DumpSharedSpaces || DynamicDumpSharedSpaces, "sanity");
   711   Arguments::assert_is_dumping_archive();
   712   // When dumping the archive, we want to clean up the ConstantPoolCache
   712   // When dumping the archive, we want to clean up the ConstantPoolCache
   713   // to remove any effect of linking due to the execution of Java code --
   713   // to remove any effect of linking due to the execution of Java code --
   714   // each ConstantPoolCacheEntry will have the same contents as if
   714   // each ConstantPoolCacheEntry will have the same contents as if
   715   // ConstantPoolCache::initialize has just returned:
   715   // ConstantPoolCache::initialize has just returned:
   716   //
   716   //