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

G1: Remove redundant checks in G1CardSet::free_mem_object

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: