RFR: 8359936: StableValues can release the underlying function after complete computation [v2]

Per Minborg pminborg at openjdk.org
Thu Jun 19 06:59:31 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 one additional commit since the last revision:

  Fix performance regression

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25878/files
  - new: https://git.openjdk.org/jdk/pull/25878/files/62e948d4..f4fb53ae

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25878&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25878&range=00-01

  Stats: 10 lines in 1 file changed: 6 ins; 0 del; 4 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