JDK-8210875 : Refactor CompactHashtable
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-09-18
  • Updated: 2019-06-23
  • Resolved: 2018-09-20
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 12
12 b13Fixed
Related Reports
Relates :  
Relates :  
Description
The template class CompactHashtable contains code for symbols and strings, which should really be provided by the instantiation of this template (e.g., SymbolTable::_shared_table).

See the problem in http://hg.openjdk.java.net/jdk/jdk/file/9c6d5e31618e/src/hotspot/share/classfile/compactHashtable.inline.hpp

CompactHashtable should be refactored to make it similar to ResourceHashtable. That way we can more easily create other instantiations, which would be handy in JDK-8210388 (Use hash table to store archived subgraph_info records.)