RFR: JDK-8284758: [linux] improve print_container_info [v3]

Matthias Baesken mbaesken at openjdk.java.net
Thu Apr 14 09:28:06 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.

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

  special handling of smaller numbers

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8217/files
  - new: https://git.openjdk.java.net/jdk/pull/8217/files/68f8be94..995c94f0

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8217&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8217&range=01-02

  Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 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