jcmd from earlier release will hang attaching to VM with JDK-8215622 applied

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 13
    • Affects Version/s: 13
    • Component/s: core-svc
    • 13
    • b12

      https://mail.openjdk.java.net/pipermail/serviceability-dev/2019-February/027240.html


      When I attached to VM which is after 8215622 change via jcmd in JDK 8 on Linux, jcmd hanged.
      I checked the status of target VM and jcmd, LinuxAttachListener::read_request() on target VM was waiting for
      subsequent argument.

      JDK-8215622 increased number of arguments of Attach API [1].
      Thus AttachListener will be waiting the command from client infinitely.


      [1] http://hg.openjdk.java.net/jdk/jdk/rev/e7cf035682e3#l2.1

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

              Created:
              Updated:
              Resolved: