RFR: 8347370: Unnecessary Hashtable usage in javax.swing.text.html.HTML
Alexey Ivanov
aivanov at openjdk.org
Mon Jan 13 19:50:38 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.
Looks good to me.
I'll submit a clientlibs test job and approve the PR once the job is complete.
-------------
PR Review: https://git.openjdk.org/jdk/pull/21842#pullrequestreview-2547703302
More information about the client-libs-dev
mailing list