RFR: 8272124: Cgroup v1 initialization causes NullPointerException when cgroup path contains colon [v4]
Harold Seigel
hseigel at openjdk.java.net
Wed Aug 18 13:04:46 UTC 2021
> Please review this small fix for JDK-8272124. The fix puts a limit of 3 when splitting self cgroup lines by ':' so that Cgroup paths won't get truncated if they contain embedded ':'s. For example, an entry of "11:memory:/user.sli:ce" in a /proc/self/cgroup file will now result in a Cgroup path of "/user.sli:ce" instead of "/user.sli".
>
> The fix was tested with Mach5 tiers 1 and 2, and Mach5 tiers 3-5 on Linux x64 and Linux aarch64.
>
> Thanks, Harold
Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
Fix test typo and error
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5127/files
- new: https://git.openjdk.java.net/jdk/pull/5127/files/fcc8c908..f339fe14
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5127&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5127&range=02-03
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/5127.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5127/head:pull/5127
PR: https://git.openjdk.java.net/jdk/pull/5127
More information about the serviceability-dev
mailing list