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

G1: G1CardSetInlinePtr Fix tautological assertion

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b11

      Description

      Remove assertions

      assert(((uintptr_t)_value & G1CardSet::CardSetInlinePtr) == G1CardSet::CardSetInlinePtr, "");

      Reason is that G1CardSet::CardSetInlinePtr = 0x0, so the assertion always returns True

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iwalulya Ivan Walulya
              Reporter:
              iwalulya Ivan Walulya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: