RFR: 8365264: Rename ResourceHashtable to HashTable [v4]

Ioi Lam iklam at openjdk.org
Wed Aug 13 00:15:10 UTC 2025


On Tue, 12 Aug 2025 12:02:13 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Hi,
>> 
>> This PR renames `ResourceHashtable` to `HashTable`. The "resource" part of the name isn't true anymore, it does many types of allocations. The RHT should be HT to signify that it's the default choice of hashtable in Hotspot.
>> 
>> I didn't change any copyright years for this change.
>> 
>> Thanks
>
> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Found the instructions for how to run the script in the error log

`hashtable.hpp` should become `hashTable.hpp`, which defines the type `HashTable`. (Existing example:  `concurrentHashTable.hpp` defines the type `ConcurrentHashTable`).

`resizeableResourceHash.hpp` should be renamed to `resizeableHashTable.hpp`

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

PR Comment: https://git.openjdk.org/jdk/pull/26729#issuecomment-3181661293


More information about the hotspot-dev mailing list