-
Bug
-
Resolution: Fixed
-
P4
-
18, 19
-
b18
-
linux
jcmd uses src/jdk.internal.jvmstat/linux/classes/sun/jvmstat/PlatformSupportImpl.java to scan for all temporary directories: the host temp dir, and (through the /proc filesystem) the temp dirs of running containers.
It checks the inode value to ensure a temp directory under /proc is not the same as the host temp directory.
However the inode can have the same value in the container and host. Thus we should check device id additionally.
It checks the inode value to ensure a temp directory under /proc is not the same as the host temp directory.
However the inode can have the same value in the container and host. Thus we should check device id additionally.