Networking

Hierarchical PLABs, CLABs, TLABs in Hotspot

Download Now Free registration required

Executive Summary

Thread-Local Allocation Buffers (TLABs) are widely used in memory allocators of garbage-collected systems to speed up the fast-path (thread-local allocation) and reduce global heap contention yet at the expense of increased memory fragmentation. Larger TLABs generally improve performance and scalability but only up to the point where more frequent garbage collection triggered by increased memory fragmentation begins dominating the overall memory management overhead. Smaller TLABs decrease memory fragmentation but increase the frequency of executing the slow-path (global allocation) and thus may reduce performance and scalability.

  • Format: PDF
  • Size: 145.2 KB