Integrated: 8295323: Unnecessary HashTable usage in StyleSheet

Andrey Turbanov aturbanov at openjdk.org
Thu Oct 27 19:03:34 UTC 2022


On Sat, 1 Oct 2022 16:53:17 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Hashtable was used only from single thread. And only non-null key/values added to it. We can safely replace it with HashSet.

This pull request has now been integrated.

Changeset: 907d5833
Author:    Andrey Turbanov <aturbanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/907d583376dfab269ea25a6c036e390f3484065e
Stats:     18 lines in 1 file changed: 0 ins; 2 del; 16 mod

8295323: Unnecessary HashTable usage in StyleSheet

Reviewed-by: aivanov, prr

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

PR: https://git.openjdk.org/jdk/pull/10522



More information about the client-libs-dev mailing list