[lworld] RFR: 8368020: Remove preloading of null-restricted static fields classes

Frederic Parain fparain at openjdk.org
Thu Sep 18 20:56:25 UTC 2025


Remove preloading of of null-restricted static fields classes. This code was needed when such fields were initialized with default values. In the current model, null-restricted fields are always strict and are initialized accordingly to the strict fields model.

Tested on Mach5, tiers 1 to 3.

Fred

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

Commit messages:
 - Remove preload of null-restricted static fields types

Changes: https://git.openjdk.org/valhalla/pull/1599/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1599&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368020
  Stats: 289 lines in 2 files changed: 38 ins; 247 del; 4 mod
  Patch: https://git.openjdk.org/valhalla/pull/1599.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1599/head:pull/1599

PR: https://git.openjdk.org/valhalla/pull/1599


More information about the valhalla-dev mailing list