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

Kim Barrett kbarrett at openjdk.org
Wed Jul 3 11:14:23 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

This pull request has now been integrated.

Changeset: c06b75ff
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c06b75ff88babf57bdcd0919ea177ff363fd858b
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

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

Reviewed-by: chagedorn

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

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


More information about the hotspot-dev mailing list