The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
With JDK-8254001 integrated, relevant infrastructure should be in place so as to be able to create a simple regression test for the NPE problem described in JDK-8257746
Comments
Fix Request (8u)
Please consider for 8u as part of cgroups v2 support. Test-only change. Not clean: fix ups include adjusting Files.writeString to Files.write. Thanks
16-12-2022
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk8u-dev/pull/171
Date: 2022-11-14 11:26:26 +0000
14-11-2022
Fix Request (11u)
Please consider this backport for 11u as part of supporting cgroups v2. It depends upon
8254001. It's a clean, test-only change which passes.
29-04-2022
A pull request was submitted for review.
URL: https://git.openjdk.java.net/jdk11u-dev/pull/1066
Date: 2022-04-29 15:16:35 +0000
Proposed test fails prior JDK-8257746 with:
JavaTest Message: JUnit Failure: testCgroupv1CpuControllerOnly(TestCgroupSubsystemFactory): Cannot invoke "jdk.internal.platform.cgroupv1.CgroupV1MemorySubSystemController.isSwapEnabled()" because "this.memory" is null
java.lang.NullPointerException: Cannot invoke "jdk.internal.platform.cgroupv1.CgroupV1MemorySubSystemController.isSwapEnabled()" because "this.memory" is null
at java.base/jdk.internal.platform.cgroupv1.CgroupV1Subsystem.getMemoryAndSwapLimit(CgroupV1Subsystem.java:357)
at TestCgroupSubsystemFactory.testCgroupv1CpuControllerOnly(TestCgroupSubsystemFactory.java:275)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.junit.runner.JUnitCore.run(JUnitCore.java:127)
at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:76)
at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:76)
at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:43)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
... and passes after.