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

G1: Missing post barrier in processing of j.l.ref.Reference objects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u20, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Introduced In Version:
    • Resolved In Build:
      b19
    • Verification:
      Not verified

      Backports

        Description

        The fix for JDK-8029255 removed the post barrier for setting the next field of Reference objects.

        http://hg.openjdk.java.net/jdk9/hs-gc/hotspot/rev/fbc1677398c0

        That post barrier dirtied a lot of cards that didn't really have to be dirty, but it saved us from other missed card marks. See for example JDK-8031703.

        When running the Stress BPM another case of a missing barrier was detected.

        The missing barrier occurs when we prune the discovered list in G1 and the list contains reference objects that are in different old regions.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                brutisso Bengt Rutisson (Inactive)
                Reporter:
                brutisso Bengt Rutisson (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: