On Wed, 15 Jun 2022 19:49:52 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:

> If a thread-safe implementation is not needed, it is recommended to use 
> HashMap in place of Hashtable.
> `ConditionalSpecialCasing.entryTable` is read-only Map which is modified only 
> in `static` block. It means we can safely replace it with HashMap.

Looks good.
I would have refactored the initialization of the static map itself, but it 
would be for another day.

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

Marked as reviewed by naoto (Reviewer).

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

Reply via email to