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
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
- relates to
-
JDK-8303276 Secondary assertion failure in AdapterHandlerLibrary::contains during crash reporting
-
- Resolved
-