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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 8u20, 9
    • hotspot
    • gc
    • b19
    • Not verified

        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.

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

                Created:
                Updated:
                Resolved: