IBM User Guide for Java V7 on Windows > IBM SDK for Java
Class loading
Class loading involves...
Loading Obtain the byte array representing the Java class file. Verification Verify class file is structurally well-formed and that code does not attempt to perform operations that are not permitted. Preparation Allocate and initialize of storage space for static class fields. Create method tables to speed up virtual method calls. Create object templates, to speed up object creation. Initialization Process class's class initialization method, if defined, to initialize static class fields to their user-defined initial values.
Symbolic references in a Java class file, such as to classes or object fields that reference a field's value, are resolved at run time to direct references only. This resolution might occur either:
- After preparation but before initialization
- More typically, at some point following initialization, but before the first reference to that symbol.
The delay is generally to increase processing speed. Not all symbols in a class file are referenced during processing; by delaying resolution, fewer symbols might have to be resolved. The cost of resolution is gradually reduced over the total processing time.
See also
- The parent-delegation model
- Namespaces and the runtime package
- Custom class loaders
- Adapting class loaders
Parent: IBM SDK for Java
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.