mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8016325: JVM hangs verifying system dictionary
Minimize redundant verifications of Klasses. Reviewed-by: hseigel, jmasa
This commit is contained in:
parent
196c8abc3d
commit
39a1c1d6c2
24 changed files with 30 additions and 68 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue