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

Matthias Baesken mbaesken at openjdk.java.net
Fri Feb 4 16:25:25 UTC 2022


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.

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

Commit messages:
 - JDK-8281274

Changes: https://git.openjdk.java.net/jdk/pull/7354/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7354&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281274
  Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7354.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7354/head:pull/7354

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


More information about the hotspot-runtime-dev mailing list