RFR: 8339148: Add os::active_physical_processor_count() API

Severin Gehwolf sgehwolf at openjdk.org
Tue Sep 3 09:49:23 UTC 2024


On Mon, 2 Sep 2024 05:14:14 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Just to be clear. It's not a goal to introduce new semantics.  What we need is an public accessible way to query this information.
>
> It doesn't make sense to try and add an API that is exactly the same as `os::available_processors` except on Linux. This is a Linux and Linux container problem.

OK. Doing an alternative PR then.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20768#discussion_r1741764966


More information about the hotspot-runtime-dev mailing list