-
Bug
-
Resolution: Fixed
-
P3
-
11.0.16, 17.0.4, 20
-
b18
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8305224 | 17.0.8-oracle | Ivan Bereziuk | P3 | Resolved | Fixed | b01 |
JDK-8295352 | 17.0.6 | Severin Gehwolf | P3 | Resolved | Fixed | b01 |
JDK-8305220 | 11.0.20-oracle | Ivan Bereziuk | P3 | Resolved | Fixed | b01 |
JDK-8297260 | 11.0.18 | Severin Gehwolf | P3 | Resolved | Fixed | b04 |
JDK-8300978 | openjdk8u372 | Jonathan Dowland | P3 | Resolved | Fixed | b01 |
JDK-8305396 | 8u381 | Ivan Bereziuk | P3 | Resolved | Fixed | b01 |
The Java code triggers an assertion if turned on:
$ sudo podman run --rm -ti --memory=300M --memory-swap=300M -v /sys/fs/cgroup:/cgroup-in:ro -v $(pwd)/build/linux-x86_64-server-fastdebug/images/jdk/:/opt/jdk:z fedora:36 /opt/jdk/bin/java -esa -ea -XshowSettings:system -version
Exception in thread "main" java.lang.AssertionError
at java.base/jdk.internal.platform.CgroupSubsystemFactory.amendCgroupInfos(CgroupSubsystemFactory.java:324)
at java.base/jdk.internal.platform.CgroupSubsystemFactory.determineType(CgroupSubsystemFactory.java:186)
at java.base/jdk.internal.platform.CgroupSubsystemFactory.create(CgroupSubsystemFactory.java:85)
at java.base/jdk.internal.platform.CgroupMetrics.getInstance(CgroupMetrics.java:183)
at java.base/jdk.internal.platform.SystemMetrics.instance(SystemMetrics.java:29)
at java.base/jdk.internal.platform.Metrics.systemMetrics(Metrics.java:58)
at java.base/jdk.internal.platform.Container.metrics(Container.java:43)
at java.base/sun.launcher.LauncherHelper.printSystemMetrics(LauncherHelper.java:317)
at java.base/sun.launcher.LauncherHelper.showSettings(LauncherHelper.java:172)
- backported by
-
JDK-8295352 [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
- Resolved
-
JDK-8297260 [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
- Resolved
-
JDK-8300978 [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
- Resolved
-
JDK-8305220 [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
- Resolved
-
JDK-8305224 [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
- Resolved
-
JDK-8305396 [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
- Resolved
- relates to
-
JDK-8294740 Add cgroups keyword to TestDockerBasic.java
- Resolved
-
JDK-8293472 Incorrect container resource limit detection if manual cgroup fs mounts present
- Resolved
- links to
-
Commit openjdk/jdk8u-dev/a5bd9018
-
Commit openjdk/jdk11u-dev/9eac68b4
-
Commit openjdk/jdk17u-dev/94bd53a0
-
Commit openjdk/jdk/6d83482a
-
Review openjdk/jdk8u-dev/221
-
Review openjdk/jdk11u-dev/1526
-
Review openjdk/jdk17u-dev/785
-
Review openjdk/jdk/10248