ADDITIONAL SYSTEM INFORMATION :
Latest JDK source
A DESCRIPTION OF THE PROBLEM :
In the block starting at line 102 of osContainer_linux.cpp (https://github.com/unofficial-openjdk/openjdk/blob/jdk/jdk/src/hotspot/os/linux/osContainer_linux.cpp#L102) there appear to be two mutually contradictory checks, meaning that the branch is never evaluated. Specifically it first checks whether or not cgroup_path is the prefix of _root, and then checks to ensure that cgroup_path is longer than _root. Obviously cgroup_path cannot simultaneously be a refix of and longer than _root.
FREQUENCY : always