RFR: 8191786: Thread-SMR hash table size should be dynamic [v3]

Erik Österlund eosterlund at openjdk.java.net
Thu May 27 06:07:08 UTC 2021


On Thu, 27 May 2021 02:31:36 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> Small change to switch Thread-SMR's hash table from ResourceHashtable to KVHashtable
>> so that a variable sized hash table is used instead of a fixed size hash table (1031 elements).
>> Also refactor common hash table size calculation code into static hash_table_size()
>> function and call it from both places.
>> 
>> Test with Mach5 Tier[1-7] testing.
>
> Daniel D. Daugherty has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Rewind and remove the unused hash_table_size calculations; ThreadScanHashtable is now fixed size.

Looks good.

-------------

Marked as reviewed by eosterlund (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4168


More information about the hotspot-runtime-dev mailing list