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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: 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.

            Assignee:
            Xiaolong Peng
            Reporter:
            Xiaolong Peng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: