RFR: 8233378: CHT: Fast reset

Ivan Walulya iwalulya at openjdk.java.net
Tue May 11 10:06:55 UTC 2021


On Tue, 11 May 2021 10:02:28 GMT, Thomas Schatzl <tschatzl 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).
>
> Lgtm

Thanks @tschatzl

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

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


More information about the hotspot-dev mailing list