> 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: Adding a comment ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31006/files - new: https://git.openjdk.org/jdk/pull/31006/files/a537cbd9..a1b16003 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31006&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31006&range=02-03 Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 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
