RFR: 8291555: Implement alternative fast-locking scheme [v21]
Roman Kennke
rkennke at openjdk.org
Thu Mar 16 12:32:39 UTC 2023
On Sat, 11 Mar 2023 14:52:54 GMT, Thomas Stuefe <stuefe at 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
More information about the serviceability-dev
mailing list