Re: RFR: 8288628: Unnecessary Hashtable usage in ConditionalSpecialCasing

2022-06-18 Thread Jaikiran Pai
On Wed, 15 Jun 2022 19:49:52 GMT, Andrey Turbanov 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

Re: RFR: 8288628: Unnecessary Hashtable usage in ConditionalSpecialCasing

2022-06-17 Thread Naoto Sato
On Wed, 15 Jun 2022 19:49:52 GMT, Andrey Turbanov 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

RFR: 8288628: Unnecessary Hashtable usage in ConditionalSpecialCasing

2022-06-16 Thread Andrey Turbanov
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. - Commit messages: - [PATCH] Unnec