-
Bug
-
Resolution: Fixed
-
P4
-
8, 11.0.2, 12, 13
-
b13
-
x86_64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8240494 | 11.0.8-oracle | Bob Vandette | P4 | Resolved | Fixed | b01 |
JDK-8229302 | 11.0.5 | Bob Vandette | P4 | Resolved | Fixed | b03 |
JDK-8257431 | openjdk8u | Severin Gehwolf | P4 | Closed | Duplicate | |
JDK-8257432 | openjdk8u282 | Bob Vandette | P4 | Resolved | Fixed | b04 |
JDK-8271845 | 8u321 | Vaibhav Choudhary | P4 | Resolved | Fixed | b01 |
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
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
- backported by
-
JDK-8229302 Line of code in osContainer_linux.cpp#L102 appears unreachable
-
- Resolved
-
-
JDK-8240494 Line of code in osContainer_linux.cpp#L102 appears unreachable
-
- Resolved
-
-
JDK-8257432 Line of code in osContainer_linux.cpp#L102 appears unreachable
-
- Resolved
-
-
JDK-8271845 Line of code in osContainer_linux.cpp#L102 appears unreachable
-
- Resolved
-
-
JDK-8257431 Line of code in osContainer_linux.cpp#L102 appears unreachable
-
- Closed
-
- relates to
-
JDK-8221340 [TESTBUG] TestCgroupMetrics.java fails after fix for JDK-8219562
-
- Resolved
-
(1 relates to)