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`.
------------- Commit messages: - Address comments - Document field alignment assumption - Add unhecked call test - Move raw factories into inner class Raw - Add copyright header and revert unintended change - Add examples to doc and fix tests - Add @Stable for URI and add benchmark - Rename classes - Initial commit Changes: https://git.openjdk.org/jdk/pull/25040/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25040&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8356255 Stats: 904 lines in 10 files changed: 868 ins; 26 del; 10 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