src/hotspot/share/oops/cpCache.cpp
changeset 54927 1512d88b24c6
parent 54786 ebf733a324d4
child 55105 9ad765641e8f
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54926:d4e7ccaf1445 54927:1512d88b24c6
   695 void ConstantPoolCache::remove_unshareable_info() {
   695 void ConstantPoolCache::remove_unshareable_info() {
   696   walk_entries_for_initialization(/*check_only = */ false);
   696   walk_entries_for_initialization(/*check_only = */ false);
   697 }
   697 }
   698 
   698 
   699 void ConstantPoolCache::walk_entries_for_initialization(bool check_only) {
   699 void ConstantPoolCache::walk_entries_for_initialization(bool check_only) {
   700   assert(DumpSharedSpaces, "sanity");
   700   assert(DumpSharedSpaces || DynamicDumpSharedSpaces, "sanity");
   701   // When dumping the archive, we want to clean up the ConstantPoolCache
   701   // When dumping the archive, we want to clean up the ConstantPoolCache
   702   // to remove any effect of linking due to the execution of Java code --
   702   // to remove any effect of linking due to the execution of Java code --
   703   // each ConstantPoolCacheEntry will have the same contents as if
   703   // each ConstantPoolCacheEntry will have the same contents as if
   704   // ConstantPoolCache::initialize has just returned:
   704   // ConstantPoolCache::initialize has just returned:
   705   //
   705   //