8016325: JVM hangs verifying system dictionary

Minimize redundant verifications of Klasses.

Reviewed-by: hseigel, jmasa
This commit is contained in:
Coleen Phillimore 2013-06-24 18:55:46 -04:00
parent 196c8abc3d
commit 39a1c1d6c2
24 changed files with 30 additions and 68 deletions

View file

@ -157,7 +157,6 @@ KlassInfoTable::~KlassInfoTable() {
}
uint KlassInfoTable::hash(const Klass* p) {
assert(p->is_metadata(), "all klasses are metadata");
return (uint)(((uintptr_t)p - (uintptr_t)_ref) >> 2);
}