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

runtime/Metaspace/PrintMetaspaceDcmd.java#test-nospecified - attach failed: file exists

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 19
    • hotspot
    • svc
    • x86_64
    • os_x

      runtime/Metaspace/PrintMetaspaceDcmd.java#test-nospecified

      ----------System.err:(31/1655)----------
      java version "19-ea" 2022-09-20
      Java(TM) SE Runtime Environment (fastdebug build 19-ea+25-1848)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 19-ea+25-1848, mixed mode)
       stdout: [6311:
      ];
       stderr: [java.io.IOException: File exists
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.createAttachFile0(Native Method)
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.createAttachFile(VirtualMachineImpl.java:289)
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:77)
      at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:58)
      at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
      at jdk.jcmd/sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:113)
      at jdk.jcmd/sun.tools.jcmd.JCmd.main(JCmd.java:97)
      ]
       exitValue = 1

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: