G1 eager reclaim card dirtying may dirty outside of allocated objects

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc
    • b94

      A stale remembered set entry on a humongous region selected for eager reclaim may point to unallocated memory.
      Previously a fix was applied to avoid dirtying cards which cover regions which are free but this fix is in fact insufficient, we also need to consider the case where a region is not full.
      This can lead to verification failures in fastdebug builds.

      Suggested fix is to change the check from "not is free" to "is in closed subset".

            Assignee:
            Mikael Gerdin (Inactive)
            Reporter:
            Mikael Gerdin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: