Integrated: 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.

This pull request has now been integrated.

Changeset: 8350b1da
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8350b1daedae8ef5785a7165e664b1d3149b18b7
Stats:     31 lines in 10 files changed: 0 ins; 1 del; 30 mod

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

Reviewed-by: tschatzl, coleenp, jwaters

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

PR: https://git.openjdk.org/jdk/pull/19934


More information about the hotspot-dev mailing list