Integrated: JDK-8281274: deal with ActiveProcessorCount in os::Linux::print_container_info

Matthias Baesken mbaesken at openjdk.java.net
Wed Feb 9 11:38:15 UTC 2022


On Fri, 4 Feb 2022 16:18:38 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The function os::Linux::print_container_info outputs memory- and cpu-related container information (when running in a containerized environment).
> However in the case of active processor count , it currently just outputs the info from OSContainer::active_processor_count without  looking at  ActiveProcessorCount that can be set to overwrite the OSContainer::active_processor_count() - information. This should be improved.

This pull request has now been integrated.

Changeset: bb2e10cc
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/bb2e10ccea0c0b89b06ace034c99253e9999ec47
Stats:     16 lines in 2 files changed: 14 ins; 0 del; 2 mod

8281274: deal with ActiveProcessorCount in os::Linux::print_container_info

Reviewed-by: stuefe, sgehwolf, dholmes, iklam

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

PR: https://git.openjdk.java.net/jdk/pull/7354


More information about the hotspot-runtime-dev mailing list