RFR: 8335591: Fix -Wzero-as-null-pointer-constant warnings in ConcurrentHashTable

Christian Hagedorn chagedorn at openjdk.org
Wed Jul 3 06:59:18 UTC 2024


On Wed, 3 Jul 2024 04:54:59 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change to ConcurrentHashTable.  Initialization of
> and assignments to the _invisible_epoch member are changed from a value of 0
> to nullptr.  This removes some -Wzero-as-null-pointer-constant warnings when
> building with that enabled.
> 
> Testing: mach5 tier1

Looks good and trivial.

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

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19996#pullrequestreview-2155609135


More information about the hotspot-dev mailing list