[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: 8272124: Cgroup v1 initialization causes NullPointerException when cgroup path contains 
From:       Harold Seigel <hseigel () openjdk ! java ! net>
Date:       2021-08-18 14:28:28
Message-ID: HAgjoaX4XDitQQU3nphajgy0eGlvpwy5syjeOUBsBJ4=.7201c3d6-89aa-4663-9020-48e5192deceb () github ! com
[Download RAW message or body]

On Mon, 16 Aug 2021 17:25:57 GMT, Harold Seigel <hseigel@openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 4d6593ce
Author:    Harold Seigel <hseigel@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/4d6593ce0243457e7431a5990957a8f880e0a3fb
                
Stats:     57 lines in 2 files changed: 54 ins; 0 del; 3 mod

8272124: Cgroup v1 initialization causes NullPointerException when cgroup path \
contains colon

Reviewed-by: mseledtsov, sgehwolf

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic