-
Bug
-
Resolution: Fixed
-
P3
-
jfx24
-
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.
_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.
- relates to
-
JDK-8349756 Memory leak in PaginationSkin when setting page count / index
-
- Resolved
-
-
JDK-8348423 [TestBug] stress test Nodes initialization from a background thread
-
- Resolved
-
- links to
-
Commit(master) openjdk/jfx/ae5864c2
-
Review(master) openjdk/jfx/1706