readConstantPool: constants.c

  1. Allocate space (gc_malloc) for tags and data, elements of  _constants, which used in Hjava_lang_Class to access constant pool.
  2. Read and set up the constant pool info.
  3. Perform some constant pool optimisations to allow for the use of pre-compiled classes.


readClass: readClass.c

  1. Read in class info.
  2. readConstantPool
  3. Add class to the system, ADDCLASS, a macro defined in readClassConfig.h which will call setupClass
  4. readInterfaces
  5. readFields
  6. readMethods
  7. readAttributes