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

memory leak in JDWP debug agent after calling JVMTI GetAllThreads

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: core-svc
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b23

      Description

      The JVMTI spec says that the array of jthread values returned must be deallocated. There are two places in threadControl.c that don't do that, resulting in a memory leak.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cjplummer Chris Plummer
              Reporter:
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: