RFR: 8356255: Add Stable Field Updaters to allow efficient lazy field evaluations [v2]
Per Minborg
pminborg at openjdk.org
Tue May 6 14:40:46 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:
Fix raw long updater under 32-bit mode
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25040/files
- new: https://git.openjdk.org/jdk/pull/25040/files/33e1779c..52e96c52
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25040&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25040&range=00-01
Stats: 21 lines in 1 file changed: 12 ins; 7 del; 2 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 net-dev
mailing list