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

Serial: Refactor CardTableRS::find_first_clean_card

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 23
    • 23
    • hotspot
    • gc
    • b03

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: