RFR: 8373908: XYChart (ScatteredChart) leaks memory when removing data [v2]

Kevin Rushforth kcr at openjdk.org
Fri Dec 19 23:52:53 UTC 2025


On Fri, 19 Dec 2025 00:31:04 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> I disagree: the change introduces a property that mirrors the field value. It is a related change.

I must be missing something. `seriesProperty` does mirror the `series` field, but that's preexisting. You are right that it is redundant, but changing it would require at least a small amount of additional testing, whereas it's easy to see that the current change is behavior neutral...except for clearing the series which fixes the leak.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2013#issuecomment-3677026947


More information about the openjfx-dev mailing list