jcmd may not be able to find processes in the container

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 18, 19
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: