RFR: 8335294: Fix simple -Wzero-as-null-pointer-constant warnings in gc code

Kim Barrett kbarrett at openjdk.org
Sat Jun 29 05:07:21 UTC 2024


On Fri, 28 Jun 2024 03:44:53 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change that replaces some uses of literal 0 as a null
> pointer constant in gc code to instead use nullptr.
> 
> There is also one place where the use was eliminated entirely, because it was
> dead code following a [[noreturn]] call.
> 
> Testing: mach5 tier1.

Thanks for reviews.

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

PR Comment: https://git.openjdk.org/jdk/pull/19934#issuecomment-2197948391


More information about the hotspot-dev mailing list