Tagged articles
18 articles
Page 1 of 1
ByteDance SE Lab
ByteDance SE Lab
Apr 3, 2026 · Fundamentals

Douyin’s Deep Dive: Expanding Android ART Heap, FD Limits & M:N Threading on Legacy Devices

This article details how Douyin engineers tackled Android’s limited heap, file‑descriptor, and thread constraints on older phones by expanding ART malloc and region spaces, enlarging FD/FD_SET limits, and implementing a transparent M:N user‑level threading model, achieving significant stability and performance gains.

ARTAndroidFD Limits
0 likes · 33 min read
Douyin’s Deep Dive: Expanding Android ART Heap, FD Limits & M:N Threading on Legacy Devices
Model Perspective
Model Perspective
Feb 20, 2025 · Fundamentals

Why Feedback Turns Simple Repetition into Real Progress

The article explains how feedback transforms mere repetition into meaningful iteration by comparing recursive sequences and linear functions, illustrating the concept with learning cycles and Kandinsky’s artistic process, and showing when feedback matters most for effective growth.

ARTFeedbackiteration
0 likes · 8 min read
Why Feedback Turns Simple Repetition into Real Progress
AntTech
AntTech
Sep 18, 2024 · Artificial Intelligence

2024 Inclusion·Bund Conference: Insights Forum on AI Era Creativity

The 2024 Inclusion·Bund Conference hosted a multidisciplinary forum on AI-era creativity, featuring scholars from Fudan University, East China Normal University, Tongji University, and iFlytek who presented reports on AI's impact on culture, ethics, and creative practice, followed by a round‑table on human‑AI symbiosis.

AIARTEthics
0 likes · 6 min read
2024 Inclusion·Bund Conference: Insights Forum on AI Era Creativity
DeWu Technology
DeWu Technology
Apr 15, 2024 · Mobile Development

Debugging Performance Degradation of Android 14 Debug Builds: Root Cause and Workarounds

The severe jank observed in Android 14 debug builds stems from the DEBUG_JAVA_DEBUGGABLE flag triggering DeoptimizeBootImage, which forces boot‑image methods onto the slow switch interpreter; a temporary hook clearing the flag and a permanent fix using UpdateEntrypointsForDebuggable restore performance, with Google planning an official fix in Android 15.

ARTAndroidDebugging
0 likes · 12 min read
Debugging Performance Degradation of Android 14 Debug Builds: Root Cause and Workarounds
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 13, 2022 · Mobile Development

Deep Dive into the Android Dex File Format

The article explains the Android Dex format, its compact bytecode advantages, how d8 generates Dex files, details each structural component—from header and ID tables to class data and bytecode—covers encoding schemes, endianness, and demonstrates inspection with the dexdump tool for deeper ART understanding.

ARTAndroidD8
0 likes · 9 min read
Deep Dive into the Android Dex File Format
Coolpad Technology Team
Coolpad Technology Team
Oct 26, 2021 · Mobile Development

Understanding ART Garbage Collection in Android: Fundamentals, Mechanisms, and Performance Optimizations

This article introduces the fundamentals of Android Runtime (ART) garbage collection, covering its historical background, key milestones, core features such as RegionTLAB, read barriers, pause behavior, generational support, target heap size calculations, multiplier impact, GC trigger thresholds, Systrace analysis, and parameter tuning strategies.

ARTAndroidGarbage Collection
0 likes · 23 min read
Understanding ART Garbage Collection in Android: Fundamentals, Mechanisms, and Performance Optimizations
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 30, 2021 · Mobile Development

Understanding ART Runtime GC Configuration and Heap Layout on Android R

The article explains Android R’s ART runtime garbage‑collection configuration and heap layout—including RegionSpace, ImageSpace, ZygoteSpace, non‑moving and LargeObject spaces—details concurrent, native, transition and blocking GC types, illustrates real‑world performance issues, and offers optimization strategies for developers.

ARTAndroidGarbage Collection
0 likes · 19 min read
Understanding ART Runtime GC Configuration and Heap Layout on Android R
DeWu Technology
DeWu Technology
Apr 2, 2021 · Fundamentals

How Android’s ART Runtime Manages Heap Memory: A Deep Dive into GC Structures

This article explains why reading the ART virtual‑machine source is valuable, compares Dalvik and ART, outlines the GC source hierarchy, details the Space class architecture—including accounting, allocator, collector, and specific spaces like LargeObjectSpace, BumpPointerSpace, and RegionSpace—then analyzes heap construction, PreZygoteFork processing, memory‑map layout, and the full Java‑object allocation flow in ART.

ARTAndroidGarbage Collection
0 likes · 43 min read
How Android’s ART Runtime Manages Heap Memory: A Deep Dive into GC Structures
Tencent Music Tech Team
Tencent Music Tech Team
Feb 9, 2018 · Mobile Development

Understanding String Encoding in Android JNI: From Native Crash to Source Code Analysis

This article investigates an Android JNI native crash caused by misusing NewString(), examines why a custom UTF‑8‑to‑UTF‑16 conversion was used instead of NewStringUTF(), compares Dalvik and ART string encodings, reveals a Dalvik UTF‑8 conversion bug fixed in ART, and advises developers on encoding nuances across Android versions.

ARTAndroidDalvik
0 likes · 26 min read
Understanding String Encoding in Android JNI: From Native Crash to Source Code Analysis