RFR: 8184166: SortedList does not free up memory
John Hendrikx
jhendrikx at openjdk.org
Wed Dec 17 10:10:49 UTC 2025
On Sun, 7 Dec 2025 01:36:02 GMT, Cormac Redmond <duke at openjdk.org> wrote:
> Fix SortedList memory leak by clearing unused entries in the internal array when the source list shrinks. Also nullify tempElement.e after use,
>
> Adding "--add-opens=javafx.base/javafx.collections.transformation=ALL-UNNAMED" to allow reflection access from tests.
Thanks for clarifying my questions, this looks good!
-------------
Marked as reviewed by jhendrikx (Reviewer).
PR Review: https://git.openjdk.org/jfx/pull/2000#pullrequestreview-3586964380
More information about the openjfx-dev
mailing list