RFR: 8371701: Add ability to set NUMA-affinity for threads [v2]
Albert Mingkun Yang
ayang at openjdk.org
Wed Nov 12 19:14:08 UTC 2025
On Wed, 12 Nov 2025 16:51:55 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
>> 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?
Such logic (logging + skip) would complicate the consumer flow with little gain -- failure in this (kind of) API should be no-op (as if skipped).
Also not-try-again assumes future calls always fail, but I'm not sure if that holds. Logging a failure might be interesting, but it should probably be done at OS level, as we use `false` to mean either failure or unsupported.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28261#discussion_r2519486835
More information about the hotspot-runtime-dev
mailing list