Aosp Runtime

AOSP Part V — Runtime. Use when reasoning about ART (dex2oat, AOT/JIT, baseline profiles, GC, oat/vdex/odex files, class loaders, JNI bridge) or the Native Bridge (Berberis, Houdini, cross-architecture native code execution, intercepting libc/JNI calls). Chapters 18–19.

aospbooks f34925a 1.0 KB Updated

File contents

AOSP Part V — Runtime

The Android Runtime (ART) and the binary translation layer that lets arm-only native code run on x86_64 devices.

Chapters in this Part

  • 18-art-runtime.md — dex2oat, AOT/JIT, baseline profiles, GC (concurrent copying), oat/vdex/odex files, class loaders, JNI bridge
  • 19-native-bridge.md — cross-architecture native code execution, Houdini → Berberis, intercepting libc/JNI calls, performance trade-offs

When to load which chapter

  • Question mentions ART, dex2oat, AOT, JIT, baseline profiles, GC, oat/vdex/odex, JNI internals → 18-art-runtime.md
  • Question mentions Berberis, Houdini, native bridge, ARM-on-x86, binary translation → 19-native-bridge.md

aospbooks/aosp-internal-book/tree/main/agents/_content/parts/runtime commit f34925a34d

Frequently asked questions

npx skillmds@latest add aospbooks/aosp-runtime