On Sat, 11 Mar 2023 14:52:54 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:

>> Roman Kennke has updated the pull request incrementally with two additional 
>> commits since the last revision:
>> 
>>  - Merge remote-tracking branch 'origin/JDK-8291555-v2' into JDK-8291555-v2
>>  - Use nullptr instead of NULL in touched code (shared)
>
> src/hotspot/share/runtime/lockStack.hpp line 64:
> 
>> 62: 
>> 63:   // GC support
>> 64:   inline void oops_do(OopClosure* cl);
> 
> Does this need to be nonconst?

Yes, because the OopClosures can (and will) update the inline array elements.

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

PR: https://git.openjdk.org/jdk/pull/10907

Reply via email to