JDK-8292384 : Convert AdapterHandlerTable to ResourceHashtable
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-08-15
  • Updated: 2022-08-18
  • Resolved: 2022-08-17
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 20
20 b11Fixed
Description
Replace the internal table that holds adapter handlers, with a ResourceHashtable.  Doesn't need to be resizeable.

Dacapo with -Xcomp -XX:+LogCompilation
AdapterHandlerTable statistics:
Number of buckets       :       293 =      2344 bytes, each 8
Number of entries       :       563 =     31528 bytes, each 56
Number of literals      :       563 =     45040 bytes, avg  80.000
Total footprint         :           =     78912 bytes
Average bucket size     :     1.922
Variance of bucket size :     1.922
Std. dev. of bucket size:     1.386
Maximum bucket size     :         7
AdapterHandlerTable: lookups 20732 equals 19757 hits 19757 compact 19757

Comments
Changeset: f45b8408 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2022-08-17 12:53:05 +0000 URL: https://git.openjdk.org/jdk/commit/f45b8408a0e66aee22a6ac60e3f24dfc8ac104e5
17-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9885 Date: 2022-08-16 02:14:41 +0000
16-08-2022