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

G1: G1CardSetInlinePtr Fix tautological assertion

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 18
    • 18
    • hotspot
    • gc
    • b11

      Remove assertions

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

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

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

              Created:
              Updated:
              Resolved: