Understanding Android: The Java Virtual Machine ART
Tags
Summary
Editor's review
Who it's for
A good fit for
- 有Java与C++基础,想弄清代码如何被虚拟机执行的中高级Android开发者
- 从事Android系统层、性能优化或ROM工作的工程师
- 对JVM/Dalvik/ART运行机制有研究兴趣的技术爱好者
- 准备研读AOSP源码、需要一条入门路线的读者
Not a good fit for
- 零基础编程入门者,书中大量源码片段与编译器概念门槛较高
- 只想学Android界面开发或快速上手的应用初学者
- 期望通过本书直接获得具体性能优化操作清单的实用派
Reading tips
- 按章节顺序读:文件格式与C++11两章不要跳过,后面几乎处处依赖。
- 对照Android 10源码同步阅读,把书中类名、函数名在本地代码里定位一遍。
- 第6至第9章为全书的难点核心,遇到编译细节可在同一章内反复回看,不必强行推进。
- 每读完一章用自己的话写下运行时调用链的小结,比只做标注更能巩固理解。
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Chapter 1: Must-Read for This Book
- Chapter 2: Class File Format
- Chapter 3: Dex File Format in Android
- Chapter 4: ELF File Format
- Chapter 5: C++11 Knowledge Needed to Read ART Source Code
- Chapter 6: Basic Knowledge of ART Virtual Machine Compilation
- Chapter 7: Creation of the ArtRuntime Object
- Chapter 8: Startup of ArtRuntime: Class Parsing, Loading, Linking, and Initialization
- Chapter 9: dex2oat and the .oat and .art File Formats
- Chapter 10: Interpretation, JIT, and Exception Handling
- Chapter 11: Implementation of JNI in the ART Virtual Machine
- Chapter 12: Java Thread Execution: Thread Suspension and Resumption, synchronized, wait/notify, volatile
- Chapter 13: Memory Allocation and Release
- Chapter 14: Garbage Collection and Java Reference Handling
FAQ
这本书需要什么前置基础?
这本书面向哪一版Android源码?
和《深入理解Java虚拟机》有什么区别?
这本书适合当工具书查阅吗?
书里的图解多吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.