What are JVM processes?
As we have established already in Chapter 1, Java Virtual Machine (JVM) on Your Computer, JVM does not know anything about the Java language and source code. It only knows how to read Byte Code. It reads the bytecodes and other information from .class files, interprets it (transforms it into the sequence of binary code instructions specific to a particular microprocessor, where JVM is running), and passes the result to the computer that executes it.
While talking about it, programmers often refer to JVM as JVM instance or process. This is because every time a java command is executed, a new instance of JVM is launched, dedicated to running the particular application in a separate process with the allocated memory size ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access