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

Make ThreadLocalAllocBuffer::resize() public

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b12

      Description

      Make ThreadLocalAllocBuffer::resize() public to allow a GC to resize TLABs in parallel. With resize() public I propose that we remove ThreadLocalAllocBuffer::resize_all_tlabs() and let CollectedHeap::resize_all_tlabs() iterate over the threads, just like CollectedHeap::ensure_parsability() does.

        Attachments

          Activity

            People

            • Assignee:
              pliden Per Liden
              Reporter:
              pliden Per Liden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: