JDK-8228358: Array Size is getting bigger in VirtualFlow.ArrayLinkedList #530
Comments
If you have a test case that reproduces this, please file a bug at bugreport.java.com/? We will need a small, self-contained test program, not an executable jar file with a number of dependencies. You can refer to this GitHub issue in your submission. |
test-javafx-virtualflow-pile-leak.zip |
@leehimchan Can you please provide a test program that does not use any internal API (meaning no reference to any |
After commenting out the calls to VirtualFlow (the test program was using internal API from FX 8), which were being used to instrument the code to see the size of I ran it for several minutes and see no evidence of a leak. What I do see when I instrument the JavaFX runtime itself is that the array grows to fit the maximum needed at any one time, but it doesn't keep growing. In my case, I saw the single array grow from 50 to 75 over time and then stay there. Maybe on a faster system, with more updates prior to clearing it, I could see it grow farther. How high are you seeing it get? |
20190722_095338.zip |
I'll give that a try, thanks. |
I'd like to open bug, about ArrayLinkedList's array size.
When moving focus in Listview automatically, click scroll and moving scroll.
Then array size is getting bigger and make OOM
public void initialize(URL location, ResourceBundle resources) {
test-javafx-virtualflow-pile-leak.zip
The text was updated successfully, but these errors were encountered: