Class File, Constant Pool and Class Loader
ClassFile is the main repository of the internal Java class information.
It contains class' constant pool, method area, virtual method table, pointer to the
static class data and to the java.lang.Class object associated with each type.
ConstantPool represents the Java class file constant pool together with the runtime constant pool.
Contains the exact image of the constant pool being read from the Java classfile.
Upon resolution all its entries eventually will point to the ClassFiles, methods
and fields of the corresponding classes.
ClassLoader implements the default loading strategy for the classes. It
looks in the CLASSPATH directory for the file named as the class name suggests
and loads its binary image into the JVM memory according to the JVM spec (look
at the ClassLoader.cpp file for details).
Includes
| AttributeInfo.h | The definition of the Java class file attribute hierarchy. |
| ClassFile.h | The definition of the field and method info parts of the class file and the ClassFile class itself with its array subclasses. |
| ConstantPool.h | The definition of all the CONSTANT_xxx ConstantPool entries and the ConstantPool class itself. |
| ClassLoader.h | The definition of the JVM default ClassLoader. |
Sources
| AttributeInfo.cpp | The implementation of the Java class file attribute hierarchy. |
| ClassFile.cpp | The implementation of the ClassFile and related classes. |
| ConstantPool.cpp | The implementation of the ConstantPool and related classes. |
| ClassLoader.cpp | The implementation of the JVM default ClassLoader. |
@