Withdrawn: 8339148: Add os::active_physical_processor_count() API
Severin Gehwolf
sgehwolf at openjdk.org
Tue Sep 3 09:49:24 UTC 2024
On Thu, 29 Aug 2024 12:38:40 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Please review this rather trivial patch for adding `os::active_physical_processor_count()` function. It is useful to have that info on Linux for the container code which bounds the CPU limit above by that value. Also, the old `os::Linux::active_processor_count()` was protected and had a bit of a misleading name. As a bonus, we can get rid of some `friend class` smells.
>
> **Testing**:
> - [x] GHA
> - [x] Container tests and cgroup gtests on linux x86_64
>
> Thoughts?
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/20768
More information about the hotspot-runtime-dev
mailing list