RFR: JDK-8327071: [Testbug] g-tests for cgroup leave files in /tmp on linux

Johan Sjölen jsjolen at openjdk.org
Sat Mar 2 19:19:51 UTC 2024


On Fri, 1 Mar 2024 11:00:01 GMT, Arno Zeller <azeller at openjdk.org> wrote:

> After each run of the g-tests for cgroups on Linux there are three new files left in /tmp.
> 
> cgroups-test-jdk.pid<pid>.cgroupTest.SubSystemFileLineContentsSingleLine
> cgroups-test-jdk.pid<pid>.cgroupTest.SubSystemFileLineContentsMultipleLinesSuccessCases
> cgroups-test-jdk.pid<pid>.cgroupTest.SubSystemFileLineContentsMultipleLinesErrorCases

Hi,

The reasoning behind that is simple: I was not aware that JTReg deletes files created in the current directory.

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

PR Comment: https://git.openjdk.org/jdk/pull/18077#issuecomment-1974883885


More information about the hotspot-dev mailing list