RFR: 8359936: StableValues can release the underlying function after complete computation [v6]
Per Minborg
pminborg at openjdk.org
Wed Aug 13 11:51:29 UTC 2025
> This PR proposes to release the underlying function if a stable function or collection has invoked its underlying supplier exhaustively so that it can be collected.
>
> This PR passes tier1, tier2, and tier3 testing on multiple platforms.
Per Minborg has updated the pull request incrementally with two additional commits since the last revision:
- Update src/java.base/share/classes/jdk/internal/lang/stable/StableFunction.java
Co-authored-by: Viktor Klang <viktor.klang at oracle.com>
- Update src/java.base/share/classes/jdk/internal/lang/stable/StableEnumFunction.java
Co-authored-by: Viktor Klang <viktor.klang at oracle.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25878/files
- new: https://git.openjdk.org/jdk/pull/25878/files/243479df..76fae6dd
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25878&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25878&range=04-05
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/25878.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25878/head:pull/25878
PR: https://git.openjdk.org/jdk/pull/25878
More information about the core-libs-dev
mailing list