Watermelon Video Tech Team
Author

Watermelon Video Tech Team

Technical practice sharing from Watermelon Video

16
Articles
0
Likes
51
Views
0
Comments
Recent Articles

Latest from Watermelon Video Tech Team

16 recent articles
Watermelon Video Tech Team
Watermelon Video Tech Team
Jan 31, 2024 · Mobile Development

Optimizing Android Process Startup in Xigua Video: Strategies, Implementation, and Benefits

This article details how Xigua Video analyzed and optimized the startup of multiple Android subprocesses—including push, mini‑app, sandboxed, and exec processes—by applying on‑demand loading, SDK integration, and monitoring techniques, resulting in measurable performance and quality improvements.

AndroidMobile DevelopmentSDK
0 likes · 23 min read
Optimizing Android Process Startup in Xigua Video: Strategies, Implementation, and Benefits
Watermelon Video Tech Team
Watermelon Video Tech Team
Dec 14, 2023 · Mobile Development

Why Does Android’s RenderThread Crash on TextureView.getBitmap? A Deep Dive and Fix

This article investigates the Android 5‑6 RenderThread native crash caused by a missing EGL surface when TextureView.getBitmap is called before ThreadedRender initialization, analyzes the root cause through code inspection and runtime logs, and presents a bytecode‑instrumentation fix that dramatically reduces the crash rate.

AndroidCrashAnalysisHooking
0 likes · 21 min read
Why Does Android’s RenderThread Crash on TextureView.getBitmap? A Deep Dive and Fix
Watermelon Video Tech Team
Watermelon Video Tech Team
Dec 12, 2023 · Mobile Development

A Guide to the Architecture Design Process for Mobile Applications

This article outlines a systematic approach to mobile architecture design, covering goals, when to create new architectures, requirement analysis, business flow mapping, pattern discovery, layering, modularization, lifecycle interfaces, verification, and evolution, illustrated with a Feed scenario and code examples.

Design PatternsSoftware Engineeringarchitecture
0 likes · 19 min read
A Guide to the Architecture Design Process for Mobile Applications
Watermelon Video Tech Team
Watermelon Video Tech Team
Jun 2, 2023 · Mobile Development

Custom Baseline Profiles Optimization for Android Apps: Design, Implementation, and Evaluation

This article describes the background of Android code execution, the evolution from full AOT to JIT+AOT and Cloud Profiles, the limitations of Google Baseline Profiles, and presents a custom Gradle‑based solution that generates baseline.prof files for all AGP versions, integrates with the installation pipeline, collaborates with OEMs, and demonstrates measurable cold‑start improvements.

AndroidAoTBaseline Profiles
0 likes · 29 min read
Custom Baseline Profiles Optimization for Android Apps: Design, Implementation, and Evaluation
Watermelon Video Tech Team
Watermelon Video Tech Team
Aug 13, 2021 · Mobile Development

Raphael: An Open‑Source Native Memory Leak Detection Tool for Android

Raphael is a native memory‑leak detection tool developed by Bytedance's video team, open‑sourced to address Android native memory issues through a combination of inline/PLT hooking, efficient stack unwinding, and optimized caching, offering low‑overhead, version‑independent monitoring across diverse native allocation APIs.

AndroidHookingNative Memory Leak
0 likes · 24 min read
Raphael: An Open‑Source Native Memory Leak Detection Tool for Android
Watermelon Video Tech Team
Watermelon Video Tech Team
Dec 14, 2020 · Mobile Development

Tailor: An Open‑Source Android Memory Snapshot Trimming and Compression Tool for OOM Governance

Tailor is an open‑source Android memory‑snapshot trimming and compression tool developed by the Xigua Video team that dramatically reduces OOM occurrences by over 95% through efficient snapshot cropping, zlib compression, and seamless integration with the dump process, while preserving essential debugging information.

AndroidHprofMemory Management
0 likes · 17 min read
Tailor: An Open‑Source Android Memory Snapshot Trimming and Compression Tool for OOM Governance
Watermelon Video Tech Team
Watermelon Video Tech Team
Aug 19, 2020 · Mobile Development

Analyzing Native Memory OOM in Android Camera Implementations and Effective Mitigation Strategies

This article investigates native memory out‑of‑memory crashes on certain Android devices caused by excessive CameraMetadata allocations, explains how delayed finalization and GC timing exacerbate the issue, and proposes proactive memory release and GC triggering techniques that dramatically reduce crash rates.

AndroidCameraGarbage Collection
0 likes · 13 min read
Analyzing Native Memory OOM in Android Camera Implementations and Effective Mitigation Strategies