Virtual machines have been critical software systems for decades and now platforms such as Apple iOS, Google Android, and Microsoft Windows Phone all need them as primary application execution engines. This book provides a systematic description that combines high-level design and low-level implementations and integrates advanced academic topics and commercial solutions for industry. It presents two drastically different practical virtual machine designs and implementations: one as an introductory courseware and the other as a high-performance software product with source code.
Inhaltsverzeichnis
Basics of Virtual Machines: Introduction of the Virtual Machine. Inside of a Virtual Machine. Data Structures in a Virtual Machine.
Design of Virtual Machines: Design of Execution Engine. Design of Garbage Collection. Design of Threading.
Supports in Virtual Machine: Native Interface. Stack Unwinding. Garbage Collection Support. Runtime-Helpers. Exception-Throwing. Finalization and Weak References. Modularity Design of VM.
Optimizations of Garbage Collection: Optimizing Garbage Collection for Throughput. Optimizing Garbage Collection for Scalability. Optimizing Garbage Collection for Responsiveness. Concurrent Moving Collection.
Optimizations of Thread Interactions: Optimizing Monitor Performance. Hardware Transactional Memory (HTM)-Based Design.