RFR: 8368599: ShenandoahConcurrentMark could use ThreadsClaimTokenScope [v2]
Albert Mingkun Yang
ayang at openjdk.org
Tue Sep 30 08:23:00 UTC 2025
On Thu, 25 Sep 2025 14:16:43 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
>>
>> as field
>
> Hold on a second.
>
>
> class StrongRootsScope : public MarkScope {
>
>
> ...and:
>
>
> MarkScope::MarkScope() {
> nmethod::oops_do_marking_prologue();
> }
>
> MarkScope::~MarkScope() {
> nmethod::oops_do_marking_epilogue();
> }
>
>
> So, what calls `nmethod::oops_do_marking_prologue`/`epilogue`, and do we know it is (not) needed?
@shipilev Is the above explanation enough? If so, hopefully, this PR can be merged to unblock further cleanups around `StrongRootsScope`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27477#issuecomment-3350610528
More information about the hotspot-gc-dev
mailing list