Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8284330

jcmd may not be able to find processes in the container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 18, 19
    • core-svc
    • 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.

            ysuenaga Yasumasa Suenaga
            ysuenaga Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: