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

Introduce per-worker preserved mark stacks in ParNew

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: