Tag

Thread Local Storage

1 views collected around this technical thread.

GrowingIO Tech Team
GrowingIO Tech Team
Mar 3, 2022 · Mobile Development

Unveiling iOS AutoreleasePool Changes: TLS Magic and Compiler Optimizations

This article explores the evolution of the iOS main.m AutoreleasePool since Xcode 11, explains how Thread‑Local Storage and compiler optimizations like tail‑call elimination affect object lifetimes, and demonstrates practical code examples and assembly insights for developers seeking deeper memory‑management understanding.

AutoreleasePoolCompiler OptimizationTail Call Elimination
0 likes · 14 min read
Unveiling iOS AutoreleasePool Changes: TLS Magic and Compiler Optimizations
Tencent Cloud Developer
Tencent Cloud Developer
Mar 11, 2021 · Fundamentals

High-Performance Object Pool Design and Implementation

The article presents a high‑performance, thread‑safe object pool that combines thread‑local freelists, a global pool, and cache‑line‑aligned structures to reuse expensive objects, dynamically expand capacity, and achieve 50‑70% lower allocation latency than standard malloc/free and existing pool implementations.

CMemory ManagementObject pool
0 likes · 23 min read
High-Performance Object Pool Design and Implementation