RFR: 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not thread safe [v2]
Chen Liang
liach at openjdk.org
Tue May 2 00:27:19 UTC 2023
On Wed, 15 Mar 2023 02:37:05 GMT, Chen Liang <liach at 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
More information about the core-libs-dev
mailing list