Browse Source

Do not re-initialize secondary entries

tags/light-jdk8u5+52
Ivan Dubrov 10 years ago
parent
commit
8aa2bed44b
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      hotspot/.hg/patches/light-jdk7u51-b13.patch

+ 4
- 2
hotspot/.hg/patches/light-jdk7u51-b13.patch View 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());
+ }
}
}

Loading…
Cancel
Save