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

void ConstantPoolCacheEntry::print(outputStream* st, int index) const { void ConstantPoolCacheEntry::print(outputStream* st, int index) const {
// print separator // print separator
if (index == 0) st->print_cr(" -------------"); if (index == 0) st->print_cr(" -------------");
@@ -663,60 +559,10 @@
@@ -663,60 +559,12 @@
} }
} }
- break; - 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