RFR: 8288497: add support for JavaThread::cannot_access_oops_safely() [v2]

Erik Österlund eosterlund at openjdk.org
Fri Jun 17 13:35:58 UTC 2022


On Thu, 16 Jun 2022 20:30:51 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> A fix to add support for JavaThread::is_gc_barrier_detached() which allows
>> us to add checks to detect failures like:
>> 
>>     JDK-8288139 JavaThread touches oop after GC barrier is detached
>>     https://bugs.openjdk.org/browse/JDK-8288139
>> 
>> This fix along with the fix for JDK-8288139 has been tested in Mach5 Tier[1-8].
>> There are no related failures in Mach5 Tier[1-7]; Mach5 Tier8 is still running.
>
> Daniel D. Daugherty 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 three additional commits since the last revision:
> 
>  - Resolve some code review comments on v00.
>  - Merge branch 'master' into JDK-8288497
>  - 8288497: add support for JavaThread::is_gc_barrier_detached()

Thank you for the explanation, @dcubed-ojdk. This looks good to me.

-------------

Marked as reviewed by eosterlund (Reviewer).

PR: https://git.openjdk.org/jdk19/pull/20


More information about the hotspot-runtime-dev mailing list