RFR: 8191786: Thread-SMR hash table size should be dynamic [v3]
Daniel D.Daugherty
dcubed at openjdk.java.net
Thu May 27 02:31:36 UTC 2021
> 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.
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/4168/files
- new: https://git.openjdk.java.net/jdk/pull/4168/files/0e4db022..b57ebc2e
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4168&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4168&range=01-02
Stats: 41 lines in 2 files changed: 9 ins; 13 del; 19 mod
Patch: https://git.openjdk.java.net/jdk/pull/4168.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4168/head:pull/4168
PR: https://git.openjdk.java.net/jdk/pull/4168
More information about the hotspot-runtime-dev
mailing list