Integrated: 8233378: CHT: Fast reset

Ivan Walulya iwalulya at openjdk.java.net
Wed May 12 09:11:17 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).

This pull request has now been integrated.

Changeset: dcf250d5
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/dcf250d5d41a05d0f3213fb9a807e89e1c198ce5
Stats:     101 lines in 3 files changed: 98 ins; 0 del; 3 mod

8233378: CHT: Fast reset

Reviewed-by: tschatzl, rehn

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

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


More information about the hotspot-dev mailing list