RFR: JDK-8284758: [linux] improve print_container_info

Matthias Baesken mbaesken at openjdk.java.net
Wed Apr 13 08:26:48 UTC 2022


Currently on Linux, os::Linux::print_container_info might print rather badly unreadable memory infos like :

memory_usage_in_bytes: 18029760512
memory_max_usage_in_bytes: 423686144

This could be improved , at a lot of places in the hs_err file output we already print the larger memory-related infos in k , for example rlimit information
or /proc/meminfo.

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

Commit messages:
 - JDK-8284758

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

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


More information about the hotspot-runtime-dev mailing list