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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: core-svc
    • Labels:
    • Introduced In Version:
      13
    • Resolved In Build:
      b12

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: