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

ZGC: Remove TLAB allocations in relocation path

XMLWordPrintable

    • gc
    • b20

        During Java-thread aided relocation, ZGC tries to use the TLAB to allocate the new object. However, this interacts badly with JEP 331: Low-Overhead Heap Profiling, as it distorts the profiling statistics. I propose we remove the use of the TLAB in the relocation path, essentially changing a thread-local pointer bump to a uncontended CPU-local CAS.

              pliden Per Liden (Inactive)
              pliden Per Liden (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: