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

G1: do first-level slow-path allocations with a CAS

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • hs20
    • hs20
    • hotspot
    • gc
    • b07
    • generic
    • generic
    • Not verified

        Currently, when we go into the slow allocation path of G1 (i.e., ), we always take the Heap_lock before performing the allocation in the current allocating region. We might improve performance if we allocate out of the current allocating region with a CAS and only need the Heap_lock to replace the current allocating region when it gets full.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: