]> source.dussan.org Git - dcevm.git/commitdiff
Do not re-initialize secondary entries
authorIvan Dubrov <idubrov@guidewire.com>
Thu, 1 May 2014 17:23:39 +0000 (10:23 -0700)
committerIvan Dubrov <idubrov@guidewire.com>
Thu, 1 May 2014 17:23:39 +0000 (10:23 -0700)
hotspot/.hg/patches/light-jdk7u51-b13.patch

index 05cf5244ed2e467640c2b8f125470d8db00b7cf8..bdab96620bb016fb6d034d0928ed1aa5b237b106 100644 (file)
@@ -2063,7 +2063,7 @@ diff --git a/src/share/vm/oops/cpCacheOop.cpp b/src/share/vm/oops/cpCacheOop.cpp
  void ConstantPoolCacheEntry::print(outputStream* st, int index) const {
    // print separator
    if (index == 0) st->print_cr("                 -------------");
-@@ -663,60 +559,10 @@
+@@ -663,60 +559,12 @@
    }
  }
  
@@ -2104,7 +2104,9 @@ diff --git a/src/share/vm/oops/cpCacheOop.cpp b/src/share/vm/oops/cpCacheOop.cpp
 -        break;
 -      }
 -    }
-+     entry_at(i)->initialize_entry(entry_at(i)->constant_pool_index());
++     if (!entry_at(i)->is_secondary_entry()) {
++       entry_at(i)->initialize_entry(entry_at(i)->constant_pool_index());
++     }
    }
  }