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

Fix -Wzero-as-null-pointer-constant warning in G1CardSetContainers

XMLWordPrintable

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

      The default constructor for G1CardSetInlinePtr casts ContainerInlinePtr (const 0) to ContainerPtr (void*). This triggers -Wzero-as-null-pointer-constant.

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

              Created:
              Updated:
              Resolved: