RFR: 8345050: Fix -Wzero-as-null-pointer warning in MemPointer ctor

Aleksey Shipilev shade at openjdk.org
Tue Nov 26 11:21:38 UTC 2024


On Tue, 26 Nov 2024 11:00:56 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change to use nullptr instead of a literal 0 in a
> call to Node::dump_bfs by the MemPointer ctor.
> 
> Testing: mach5 tier1

Agree this is trivial.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22388#pullrequestreview-2461164095


More information about the hotspot-compiler-dev mailing list