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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • hs23
    • Affects Version/s: hs23
    • Component/s: 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.

              Assignee:
              John Cuthbertson
              Reporter:
              Tony Printezis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: