ClassLoading

From Suhrid.net Wiki
Revision as of 10:48, 23 November 2012 by Suhridk (talk | contribs)
Jump to navigationJump to search

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.