RFR: 8184166: SortedList does not free up memory [v2]
Cormac Redmond
duke at openjdk.org
Wed Dec 17 23:46:37 UTC 2025
> 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.
Cormac Redmond has updated the pull request incrementally with one additional commit since the last revision:
8184166: add back newline at end of file, mistakenly removed in a previous commit, to ensure no unexpected consequences
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/2000/files
- new: https://git.openjdk.org/jfx/pull/2000/files/48eda6dc..91c5098e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=2000&range=01
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=2000&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jfx/pull/2000.diff
Fetch: git fetch https://git.openjdk.org/jfx.git pull/2000/head:pull/2000
PR: https://git.openjdk.org/jfx/pull/2000
More information about the openjfx-dev
mailing list