On Mon, 20 Jan 2025 13:07:19 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> Two `Hashtable`'s in `javax.swing.text.html.CSS.LengthUnit` class are > modified only within `<clinit>` block: > 1. lengthMapping > 2. w3cLengthMapping > > We can replace them with immutable maps to avoid Hashtable synchronization > overhead. The client tests are green in CI. ------------- PR Comment: https://git.openjdk.org/jdk/pull/23198#issuecomment-2621994714