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

Memory leak in TreeTableView

XMLWordPrintable

    • b05

      This is similar to JDK-8349756, but in TreeTableView. I haven't distilled it down to a simple test program, but the following will show the leak:

      _JAVA_OPTIONS="-verbose:gc" gradle --info -PTEST_ONLY=true -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests NodeInitializationStressTest.treeTableView

      Sometimes the test will pass, but often it will throw OOM.

      I can reproduce this on two different MacBook systems.



      ## Root Cause
      An event handler was installed on the root property without removing it when the root changes.

      ## Solution
      Replaced the weak parts with a change listener to the root property to ensure correct handling of the root value changes.

            angorya Andy Goryachev
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: