Integrated: add different flavors to the useSiteNullChecks compiler option

Vicente Romero vromero at openjdk.org
Wed Jan 21 15:13:45 UTC 2026


On Wed, 21 Jan 2026 00:43:37 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 4f31dc35
Author:    Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/4f31dc35ea8c7904f41f0981493895740dad799e
Stats:     77 lines in 2 files changed: 59 ins; 0 del; 18 mod

add different flavors to the useSiteNullChecks compiler option

Reviewed-by: mcimadamore

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

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


More information about the valhalla-dev mailing list