[jdk8u-dev] RFR: 8253435: Cgroup: 'stomping of _mount_path' crash if manually mounted cpusets exist [v2]
Severin Gehwolf
sgehwolf at openjdk.org
Tue Nov 8 13:00:07 UTC 2022
On Tue, 8 Nov 2022 11:25:35 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:
>> This is a clean backport of 8253435 to jdk8u-dev for cgroups v2 support.
>
> Jonathan Dowland has updated the pull request incrementally with one additional commit since the last revision:
>
> Replace log_warning with tty->print_cr
hotspot/test/runtime/containers/cgroup/CgroupSubsystemFactory.java line 168:
> 166:
> 167: cgroupv1MntInfoDoubleCpuset = Paths.get(existingDirectory.toString(), "mnt_info_cgroupv1_double_cpuset");
> 168: Files.writeString(cgroupv1MntInfoDoubleCpuset, mntInfoCgroupv1DoubleCpuset);
Without actually testing the patch. This looks like API not available in 8u. `s/Files.writeString/Files.write/`. Once the depending PR gets updated this would likely need some fix-up as well. I'll looking at recent changes from #135.
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/158
More information about the jdk8u-dev
mailing list