> Fixing the race condition during the initialization of the skeleton map. The > root cause was that the map could be accessed while it was still being > initialized, leading to an NPE. Although the NPE could be avoided by > returning a default value, the map initialization itself should be made > thread safe. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Naoto Sato has updated the pull request incrementally with one additional commit since the last revision: Addressing review comments ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31006/files - new: https://git.openjdk.org/jdk/pull/31006/files/dc242c48..a537cbd9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31006&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31006&range=01-02 Stats: 48 lines in 2 files changed: 23 ins; 10 del; 15 mod Patch: https://git.openjdk.org/jdk/pull/31006.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31006/head:pull/31006 PR: https://git.openjdk.org/jdk/pull/31006
