G1: Remove redundant checks in G1CardSet::free_mem_object

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • b11

      In `G1CardSet::free_mem_object`:

      ```
        assert(...);
        ...
        if (type == G1CardSet::CardSetArrayOfCards ||
            type == G1CardSet::CardSetBitMap ||
            type == G1CardSet::CardSetHowl)
        ...
      ```

      The same checks are asserted right above.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: