Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8335591

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • None
    • b05

      ConcurrentHashTable has a pointer-typed data member _invisible_epoch. It is initialized to 0 by the constructor, and assigned to 0 in several places. This trigguers -Wzero-as-null-pointer-constant when that warning is enabled.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: