RFR: 8233378: CHT: Fast reset
Ivan Walulya
iwalulya at openjdk.java.net
Tue May 11 13:29:08 UTC 2021
On Tue, 11 May 2021 13:16:00 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
>> Hi all,
>>
>> Please review this change to add a dedicated method that just resets the internal table (optionally setting it to a new size) without going through new/delete of the CHT. Currently, the CHT destructor calls Value::destroy_node() on every element in the table which may be very slow for some use-cases.
>>
>> Testing: tier 1-3 (Linux, Windows).
>
> Looks ok! Thanks for also adding the gtests.
Thanks @robehn
-------------
PR: https://git.openjdk.java.net/jdk/pull/3950
More information about the hotspot-dev
mailing list