RFR: add different flavors to the useSiteNullChecks compiler option

Vicente Romero vromero at openjdk.org
Wed Jan 21 00:50:20 UTC 2026


Changing the option to indicate if use site null checks should be emitted for fields and methods. The option has be renamed to: `useSiteNullChecks` with sub-options to indicate if no use site checks should be generated, or if it should be generated only for methods or for methods and fields. The default is generating the checks for fields and methods

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

Commit messages:
 - add different flavors to the useSiteNullChecks compiler option

Changes: https://git.openjdk.org/valhalla/pull/1939/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1939&range=00
  Stats: 67 lines in 2 files changed: 49 ins; 0 del; 18 mod
  Patch: https://git.openjdk.org/valhalla/pull/1939.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1939/head:pull/1939

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


More information about the valhalla-dev mailing list