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.

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

                Created:
                Updated:
                Resolved: