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

G1: we should take the pending list lock before doing the remark pause

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs23
    • hs23
    • hotspot
    • gc
    • b04
    • generic
    • generic
    • Not verified

        Since we started processing refs during concurrent marking, with the final ref processing taking place during the remark pause, we should make sure that we hold the pending list lock before doing the remark pause. Otherwise, we could mess up a thread that's accessing the pending list and went into a safepoint while holding said lock.

              johnc John Cuthbertson
              tonyp Tony Printezis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: