RFR: 8371701: Add ability to set NUMA-affinity for threads [v2]
Stefan Karlsson
stefank at openjdk.org
Wed Nov 12 16:54:29 UTC 2025
On Wed, 12 Nov 2025 16:06:17 GMT, Joel Sikström <jsikstro at openjdk.org> wrote:
>> NUMA affinity is a performance hint, not a requirement. Callers can’t meaningfully react to failure -- retry is unlikely to succeed, and there’s no feasible fallback strategy in most contexts.
>>
>>> since the algorithm and functionality works if setting the affinity would fail
>>
>> I can't think of a scenario where numa-affinity affects correctness.
>>
>> Ofc, this is very subjective. Up to you.
>
> I see what you're saying. I'll change the return type to void instead.
Could one use-case could be to log a failure message and then not try again?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28261#discussion_r2519076551
More information about the hotspot-runtime-dev
mailing list