Parcourir la source

Do not re-initialize secondary entries

tags/light-jdk8u5+52
Ivan Dubrov il y a 10 ans
Parent
révision
8aa2bed44b
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4
    2
      hotspot/.hg/patches/light-jdk7u51-b13.patch

+ 4
- 2
hotspot/.hg/patches/light-jdk7u51-b13.patch Voir le fichier

@@ -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());
+ }
}
}

Chargement…
Annuler
Enregistrer