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

serviceability/dcmd/compiler/CodeHeapAnalyticsParams.java failed with AttachNotSupportedException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 26
    • core-svc
    • x86_64
    • linux

       stdout: [1866522:
      ];
       stderr: [com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/1866522/root/tmp/.java_pid1866522: target process 1866522 doesn't respond within 10500ms or HotSpot VM not loaded
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:115)
      at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:56)
      at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:201)
      at jdk.jcmd/sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:113)
      at jdk.jcmd/sun.tools.jcmd.JCmd.main(JCmd.java:97)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
      at CodeHeapAnalyticsParams.main(CodeHeapAnalyticsParams.java:41)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1474)

            Unassigned Unassigned
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: