RFR: 8245543: Cgroups: Incorrect detection logic on some systems (still reproducible) [v4]

Boris Ulasevich bulasevich at openjdk.java.net
Wed Oct 7 11:59:14 UTC 2020


On Wed, 7 Oct 2020 08:08:13 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> Yes. I've removed unused groups now, though.
>> 
>> Originally, my thinking was that `mount root` and `mount path` would be useful too so I kept it in. It would certainly
>> be useful for getting rid of reading `/proc/self/mountinfo` twice on the Java side. As a future enhancement we could do
>> away with double parsing of mount info by keeping track of relevant cgroup controller info. I've filed
>> [JDK-8254001](https://bugs.openjdk.java.net/browse/JDK-8254001) to track this.
>
> The latest version goes back to using all three as it's beneficial to track that info and use it later on for
> instantiating the version specific objects.

ok!

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

PR: https://git.openjdk.java.net/jdk/pull/485


More information about the core-libs-dev mailing list