Rare Earth Juejin Tech Community
Nov 14, 2022 · Mobile Development
Understanding Android ART Native Implementation of synchronized: Monitor, LockWord, and Object
This article explains how the Android Runtime (ART) implements the Java synchronized keyword at the native level, detailing the roles and interactions of Monitor, LockWord, and native Object classes, as well as the thin‑lock to fat‑lock upgrade process and monitor entry/exit mechanisms.
AndroidLockWordMonitor
0 likes · 15 min read