On Wed, 15 Mar 2023 02:37:05 GMT, Chen Liang <li...@openjdk.org> wrote:
>> 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not >> thread safe > > Chen Liang has updated the pull request with a new target base due to a merge > or a rebase. The incremental webrev excludes the unrelated changes brought in > by the merge/rebase. The pull request contains four additional commits since > the last revision: > > - Make the repositories volatile like in Class > - Merge branch 'master' of https://git.openjdk.java.net/jdk into > generic-info-thread-safe > - Merge branch 'master' of https://git.openjdk.java.net/jdk into > generic-info-thread-safe > - 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not > thread safe keep-alive. Using volatile to ensure correctness of program order is still better than reading `null` on the second non-volatile read at return. ------------- PR Comment: https://git.openjdk.org/jdk/pull/12643#issuecomment-1530666323