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

Shenandoah: Improve heap lock contention by using CAS for memory allocation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • gc
    • generic

      Shenandoah always take a heap lock on the slow path when it allocate memory from heap, which causes heavy lock contention when heap is under stress. In stead of always allocating under heap lock, we could pre allocate N number of regions and allocate with CAS operation to reduce the heap lock contention.

            xpeng Xiaolong Peng
            xpeng Xiaolong Peng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: