RFR: 8359936: StableValues can release the underlying function after complete computation [v5]
Per Minborg
pminborg at openjdk.org
Tue Aug 12 09:21:07 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:
- Add comment for outer.outer
- Merge branch 'master' into sv-release-supplier2
- Merge branch 'master' into sv-release-supplier2
- Add a new method to StableValueImpl for improved speed
- Merge branch 'master' into sv-release-supplier2
- Fix performance regression
- Clean up
- Fix bug
- Simplify
- Revert to records
- ... and 2 more: https://git.openjdk.org/jdk/compare/9b0a53dc...243479df
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25878/files
- new: https://git.openjdk.org/jdk/pull/25878/files/f9fd6ebb..243479df
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25878&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25878&range=03-04
Stats: 89926 lines in 2356 files changed: 51300 ins; 25056 del; 13570 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