This patch removes the mandatory preloading triggered by the @NullRestricted annotated fields, and falls back to the speculative pre-loadings allowed by the LoadableDescriptors attribute. See the CR for more details about the rational and the new semantic of the @NullRestricted annotation.
Tested with Mach5 tier1-4. Thank you. ------------- Commit messages: - Remove mandatory preloading of null-free fields Changes: https://git.openjdk.org/valhalla/pull/2228/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2228&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8380053 Stats: 263 lines in 6 files changed: 101 ins; 109 del; 53 mod Patch: https://git.openjdk.org/valhalla/pull/2228.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2228/head:pull/2228 PR: https://git.openjdk.org/valhalla/pull/2228
