RFR: 8306738: Select num workers for safepoint ParallelCleanupTask [v3]
Coleen Phillimore
coleenp at openjdk.org
Fri May 5 19:07:17 UTC 2023
On Fri, 5 May 2023 07:07:27 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
>> src/hotspot/share/runtime/safepoint.cpp line 550:
>>
>>> 548: Universe::heap()->uses_stack_watermark_barrier()) {}
>>> 549:
>>> 550: uint expected_num_workers() const {
>>
>> should this be 'static' for internal linkage?
>
> It is a method and uses the non static member field `_do_lazy_roots`. Not a free function.
oh ok, good.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13616#discussion_r1186418059
More information about the hotspot-runtime-dev
mailing list