Difference between revisions of "ClassLoading"
From Suhrid.net Wiki
Jump to navigationJump to searchLine 2: | Line 2: | ||
* The binary class format is defined in the JVM spec. So compatible class files can be produced from any language definition. | * The binary class format is defined in the JVM spec. So compatible class files can be produced from any language definition. | ||
− | * | + | * Every binary class starts with the "cafe babe" signature. |
+ | * Class format version numbers - minor and major. | ||
+ | * Bytecode is machine code for the JVM. | ||
+ | * The JVM uses a stack architecture with instruction operands being loaded onto an internal stack. | ||
+ | * Early JVM's were interpreters - Next gen JVM's added JIT to compile bytecode to native code. |
Revision as of 10:48, 23 November 2012
Binary Class
- The binary class format is defined in the JVM spec. So compatible class files can be produced from any language definition.
- Every binary class starts with the "cafe babe" signature.
- Class format version numbers - minor and major.
- Bytecode is machine code for the JVM.
- The JVM uses a stack architecture with instruction operands being loaded onto an internal stack.
- Early JVM's were interpreters - Next gen JVM's added JIT to compile bytecode to native code.