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

GC abstraction for LAB reserve

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      generic

      Description

      TLABs need to be made parseable before GC. This means to fill remaining space with a dummy object, so that there remain no holes in the heap, and the heap becomes contiguously filled with objects. However, since we cannot (generally) fill holes with arbitrarily small objects, we need an 'allocation reserve' at the end of TLABs (and PLABs).

      Current PLAB and TLAB reserve assumes a specific object size. GCs like Shenandoah need to allocate a little more space per object and thus require some abstraction to get the minimum filler object size / allocation reserve.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rkennke Roman Kennke
                Reporter:
                rkennke Roman Kennke
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: