Loading... (original) (raw)

ResourceHashtable is currently a ResourceObj but it does not currently support c-heap allocation, add a template parameter to propagate the ResourceObj::allocation_type to ResourceObj::operator new

Also add a remove function to remove entries from the table and a small set of unit tests for the class.

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8240152 Expand ResourceHashtable with C_HEAP allocation, removal and some unit tests

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8299674 Expand ResourceHashtable with C_HEAP allocation, removal and some unit tests

relates to

Enhancement - null JDK-8231494 fix a typo in hash functions