Jonathan Love

Search IconIcon to open search

JVM Internals

Resources

Overview

Key Parts

Thread

Secondary Threads

Even without threading, a JVM program will run multiple system threads simultaneously to support the main thread. Mainly:

Per-Thread

Program Counter (PC)

Stack

Native Stack

Stack Restrictions

Frame

Frame Layout

Each Frame contains

LVA and Operand Stack size measured in words, are determined at compile time, and included in class file data for each method.

Exception Handling


Interactive Graph