The Java Virtual Machine

The Java Virtual Machine (JVM) is the heart of Java. The JVM is a virtual computer that resides in memory and enables a Java program to be executed on a variety of platforms. Oracle JServer provides the Aurora JVM, which resides in Oracle8i. The Oracle JVM is discussed in Chapter 1, "Introduction to the Internet Capabilities of Oracle 8i."

Note

The Java Virtual Machine makes Java portable because it takes care of all the platform-specific interactions.

Addresses in JVM are 32-bit size and can address up to 4GB of memory. The stack, garbage-collection heap, and method area reside in this 4GB of addressable memory. The following registers are used to manage the system stack:

  • Program counter— It keeps track of the current ...

Get e-Commerce Applications Using Oracle8i and Java from Scratch 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.