Hierarchical PLABs, CLABs, TLABs in Hotspot

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.

Provided by: University of Salzburg Topic: Networking Date Added: Dec 2011 Format: PDF

Find By Topic