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

    • Bug
    • Resolution: Fixed
    • P2
    • 13
    • 13
    • core-svc
    • 13
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: