Integrated: 8341336: Fix -Wzero-as-null-pointer-constant warnings in PRODUCT-only code
Kim Barrett
kbarrett at openjdk.org
Wed Oct 2 22:01:41 UTC 2024
On Tue, 1 Oct 2024 16:29:44 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change that removes -Wzero-as-null-pointer-constant warnings
> triggered by PRODUCT-only code. Most are uses of PRODUCT_RETURN0 in a pointer
> context. These are changed to use the (new) macro PRODUCT_RETURN_NULL.
>
> Testing: mach5 tier1
> Locally (linux-x64) ran tier1 testing on a release build.
> (mach5 mostly does fastdebug testing)
This pull request has now been integrated.
Changeset: dc0ce1b2
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/dc0ce1b2f2ebf457de9524adcbce2b473749e815
Stats: 14 lines in 5 files changed: 4 ins; 4 del; 6 mod
8341336: Fix -Wzero-as-null-pointer-constant warnings in PRODUCT-only code
Reviewed-by: stefank, iwalulya, shade
-------------
PR: https://git.openjdk.org/jdk/pull/21290
More information about the hotspot-dev
mailing list