Tagged articles
5 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Jan 16, 2025 · Fundamentals

TCMalloc: Architecture, Principles, Usage, and Performance Comparison

This article provides a comprehensive overview of Google’s TCMalloc memory allocator, detailing its three‑level cache architecture, allocation and reclamation strategies, installation methods, configuration options, and performance advantages over other allocators in C++ backend, game, and database applications.

C performanceMemory AllocatorTCMalloc
0 likes · 27 min read
TCMalloc: Architecture, Principles, Usage, and Performance Comparison
Linux Code Review Hub
Linux Code Review Hub
Jun 15, 2024 · Mobile Development

Scudo’s Evolution in Android 15: Optimizing Speed, Safety, and Memory Efficiency

The article examines how Android’s Scudo memory allocator has been refined over the past three years, detailing its four design goals, the cache and thread‑specific data mechanisms for fast allocation, strategies to balance safe memory release with performance, and the group‑based approach that reduces fragmentation while preserving security.

AndroidCacheMemory Allocator
0 likes · 11 min read
Scudo’s Evolution in Android 15: Optimizing Speed, Safety, and Memory Efficiency
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 31, 2021 · Information Security

Design and Implementation of the Android Scudo Hardened Allocator

The Android Scudo hardened allocator, introduced in Android R to replace jemalloc, uses a primary region‑based allocator, a secondary mmap‑backed allocator, thread‑specific caches, and a quarantine system with 64‑bit chunk headers and extensive safety checks, offering a balanced security‑performance trade‑off configurable via compile‑time, environment, and mallopt options.

AndroidChunk HeaderMemory Allocator
0 likes · 17 min read
Design and Implementation of the Android Scudo Hardened Allocator