RFR: 8356255: Add Stable Field Updaters to allow efficient lazy field evaluations [v8]

Per Minborg pminborg at openjdk.org
Thu May 8 07:16:28 UTC 2025


> This sketch shows how "Stable Updaters" can be used to create stable computations of `@Stable` fields. Only one updater is needed per class, similar to `AtomicIntegerFieldUpdater`.

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Add lazy CallSite methods

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25040/files
  - new: https://git.openjdk.org/jdk/pull/25040/files/de8e2387..e2a2d7bd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25040&range=07
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25040&range=06-07

  Stats: 64 lines in 2 files changed: 62 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25040.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25040/head:pull/25040

PR: https://git.openjdk.org/jdk/pull/25040


More information about the core-libs-dev mailing list