JVM Components

A given JVM might be implemented as a monolithic program, but it is designed as a set of components. The coarse-grained components are class loader, bytecode interpreter, security manager, garbage collector, thread management, and graphics. Each of these components—except perhaps graphics—has a significant influence on the real-time performance of the JVM.

Class Loading

The first time a Java program uses a class, the JVM finds the class and arranges to have it integrated with the rest of the Java environment.

Class loading includes the following steps.

1.
Find the class in a file with a name derived from the fully qualified name of the class by converting dots to file delimiters (slash on UNIX, backslash on DOS-descended systems) ...

Get Real-Time Java™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.