RFR: 8347370: Unnecessary Hashtable usage in javax.swing.text.html.HTML
Alexey Ivanov
aivanov at openjdk.org
Tue Jan 14 19:57:44 UTC 2025
On Fri, 1 Nov 2024 20:13:31 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> The Hashtable `javax.swing.text.html.HTML.scMapping` is modified only within `<clinit>` block.
> We can replace it with immutable map to avoid Hashtable synchronization overhead.
The tests returned green.
-------------
Marked as reviewed by aivanov (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/21842#pullrequestreview-2550892889
More information about the client-libs-dev
mailing list