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

Memory leak in CSS: ScrollPane is held strongly even after removal from scene graph

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
      None

      Description

      See the attached program. It adds and then removes a ScrollPane with a single Circle in it to the scene graph. The last ScrollPane is being held preventing it from being garbage collected.

      This is being held onto by the StyleConverterImpl cache. It looks like the ParsedValueImpl used as the key in the WeakHashMap is strongly held somewhere.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgrieve David Grieve
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Imported: