Integrated: 8184166: SortedList does not free up memory

Cormac Redmond duke at openjdk.org
Thu Dec 18 22:44:37 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.

This pull request has now been integrated.

Changeset: bbfe3455
Author:    Cormac Redmond <credmond at certak.com>
Committer: John Hendrikx <jhendrikx at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/bbfe3455058ef0d70a8ba983b9828447cf91ee31
Stats:     159 lines in 3 files changed: 159 ins; 0 del; 0 mod

8184166: SortedList does not free up memory

Reviewed-by: jhendrikx, angorya

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

PR: https://git.openjdk.org/jfx/pull/2000


More information about the openjfx-dev mailing list