Tagged articles
4 articles
Page 1 of 1
UCloud Tech
UCloud Tech
Feb 1, 2018 · Operations

How to Apply Live Hot Patches to Running Applications Without Restart

This article explains the principles and step‑by‑step implementation of application hot‑patching on Linux, showing how to compile a patch library, use a loader with ptrace and dlopen to inject it into a running process, and verify the change without restarting the service.

Linuxdlopenhot patching
0 likes · 8 min read
How to Apply Live Hot Patches to Running Applications Without Restart
Tencent Music Tech Team
Tencent Music Tech Team
Dec 22, 2017 · Mobile Development

Organizing Native Layer Code and Implementing Dynamic Loading/Unloading of .so Libraries in Android

The article outlines a systematic method for structuring native‑layer code and using dlopen, dlsym, and dlclose to dynamically load and unload .so libraries on Android, enabling selective loading, reduced memory usage, hot‑fix updates, and solutions to STL version, permission, and C++ name‑mangling challenges.

AndroidDynamic LoadingJNI
0 likes · 14 min read
Organizing Native Layer Code and Implementing Dynamic Loading/Unloading of .so Libraries in Android