[jdk8u-dev] RFR: 8239559: Cgroups: Incorrect detection logic on some systems [v6]
Severin Gehwolf
sgehwolf at openjdk.org
Mon Nov 14 13:38:19 UTC 2022
On Mon, 14 Nov 2022 11:28:42 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:
>> 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 eight additional commits since the last revision:
>>
>> - 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
>> - Don't pass --add-exports to jdk8u java inside docker
>>
>> These are JDK9+ module specific parameters.
>> - 8244500: jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java
>>
>> When the kernel doesn't support swap limits, expect host values instead.
>>
>> Reviewed-by: sgehwolf
>> Backport-of: fb5132254d834ba01a4b65ce64143843e83c674e
>> - Update file path in comment
>> - Severin's test fixes. Thanks!
>
> jdk/test/jdk/internal/platform/cgroup/TestCgroupSubsystemFactory.java line 46:
>
>> 44: * @test
>> 45: * @requires os.family == "linux"
>> 46: * @modules java.base/jdk.internal.platform
>
> this is benign but potentially misleading in 8u, should we remove it? I only hesitate because it might mean rebasing up to 8 pull requests on top
Let's not fix this in this integration batch. If we really want to, we can remove those with a single 8u-only bug. FWIW, there are more of those `@modules` lines in tests elsewhere (only two of them are from container tests):
$ grep -rn '@modules' jdk/test/ | wc -l
77
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/136
More information about the jdk8u-dev
mailing list