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

Matthias Baesken mbaesken at openjdk.java.net
Wed Feb 9 08:14:39 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.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  Avoid changing Common.java, simplify test

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7354/files
  - new: https://git.openjdk.java.net/jdk/pull/7354/files/29352421..9444430e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7354&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7354&range=03-04

  Stats: 14 lines in 2 files changed: 2 ins; 7 del; 5 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