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

G1 eager reclaim card dirtying may dirty outside of allocated objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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".

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

              Created:
              Updated:
              Resolved: