RFR: 8233378: CHT: Fast reset

Thomas Schatzl tschatzl at openjdk.java.net
Tue May 11 10:06:55 UTC 2021


On Mon, 10 May 2021 14:08:28 GMT, Ivan Walulya <iwalulya 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

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

Marked as reviewed by tschatzl (Reviewer).

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


More information about the hotspot-dev mailing list