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

Introduce per-worker preserved mark stacks in ParNew

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b109
    • generic
    • generic

      In ParNew, pushes to the (single, and shared among GC workers) preserved mark stack are guarded by a lock. If many marks need to be preserved during a GC with promotion failure, this can cause a lot of contention and a big scalability bottleneck, resulting in unreasonably long GCs.

      We should introduce per-worker preserved mark stacks (similarly to what was done in G1) to eliminate this issue.

            tonyp Tony Printezis
            tonyp Tony Printezis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: