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

improve diagnostics code in HotSpotAttachProvider.listVirtualMachines()

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 7u97
    • Fix Version/s: 7-pool
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc

      Description

      In HotSpotAttachProvider.listVirtualMachines(), we can throw a java.lang.InternalError in response to catching another Throwable, but we do not do anything to provide the caller with information about the original Throwable that we caught.

      We should improve this to provide adequate information about the original exception to help make it easier to troubleshoot cases where this InternalError is thrown.

        Attachments

          Activity

            People

            • Assignee:
              dbuck David Buck
              Reporter:
              dbuck David Buck
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: