JDK-8160577 : verify_lookup_length is defined and implemented in BasicHashtable, but only used by SharedDictionary
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-06-29
  • Updated: 2019-05-22
  • Resolved: 2017-05-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10Resolved
Related Reports
Duplicate :  
Relates :  
Description
"verify_lookup_length" is defined in BasicHashtable<F>, and it's called by "verify()" methods in: 

ProtectionDomainCacheTable : Hashtable : BasicHashtable 
Dictionary : TwoOopHashtable : Hashtable : BasicHashtable 
SymbolEntryTable : Hashtable : BasicHashtable 
ModuleEntryTable : Hashtable : BasicHashtable 
PackageEntryTable : Hashtable : BasicHashtable 
PlaceholderTable : TwoOopHashtable : Hashtable : BasicHashtable 

where "SharedDictionary" is the only class extending "Dictionary". 

"verify_lookup_length" uses "_lookup_count" and "_lookup_length" fields defined in BasicHashtable<F>, but the only class actually using those fields is "SharedDictionary", in all other cases they are not used, so "verify_lookup_length is a NOP for all the cases except "SharedDictionary". 

Comments
It's used for Dictionary too.
13-05-2017

Fixing JDK-8166848 will fix this too.
13-05-2017