[jdk8u-dev] RFR: 8252359: HotSpot Not Identifying it is Running in a Container [v5]

Jonathan Dowland jdowland at openjdk.org
Mon Dec 12 09:51:02 UTC 2022


> This is a clean backport of 8252359  to jdk8u-dev, as part of cgroups v2 support.

Jonathan Dowland has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 68 additional commits since the last revision:

 - 8252359: HotSpot Not Identifying it is Running in a Container
   
   Backport-of: 76f0588aaf265439a589cceb924e3ea9d3fda8f1
 - replace log_trace with tty->print_cr
 - 8278951: containers/cgroup/PlainRead.java fails on Ubuntu 21.10
   
   Reviewed-by: sgehwolf
   Backport-of: 35172cdaf38d83cd3ed57a5436bf985dde2d802b
 - PlainRead: ProcessBuilder: jdk8u-appropriate command line flags
 - adjust jtreg settings and imports for 8u
 - 8197408: Bad pointer comparison and small cleanup in os_linux.cpp
   
   Reviewed-by: bobv, stuefe
 - Test fix by Severin. Thanks!
 - replace post-jdk8u Optional.isEmpty
 - 8239559: Cgroups: Incorrect detection logic on some systems
   
   Adjust heuristic with cgroup mounts according to mountinfo
   
   Backport-of: 53ee0c4963007b86db7979312b81f990e6ce271a
 - 8240189: [TESTBUG] Some cgroup tests are failing after JDK-8231111
   
   Reviewed-by: mdoerr
   Backport-of: c92adf41587767e9c5c8e116cfaeb375d36928aa
 - ... and 58 more: https://git.openjdk.org/jdk8u-dev/compare/34b0259f...564b1a01

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/157/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/157/files/34b0259f..564b1a01

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=157&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=157&range=03-04

  Stats: 4480 lines in 127 files changed: 3197 ins; 781 del; 502 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/157.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/157/head:pull/157

PR: https://git.openjdk.org/jdk8u-dev/pull/157


More information about the jdk8u-dev mailing list