Serial: Refactor CardTableRS::find_first_clean_card

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc
    • b03

      On deciding whether the search should continue after treating all cards of a non-objarray as dirty, the problematic logic (before JDK-8321216) checks the card occupied by next obj. However, it's possible that we are already at the end of heap, so there's no next-obj any more.

      An alternative and smaller fix for https://bugs.openjdk.org/browse/JDK-8321216 is to respect the actual value of the final card of a non-objarray.

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

              Created:
              Updated:
              Resolved: