From: Chapter 3 of Java Performance
Internal class loading data
The hotspot VM maintains three hash tables to track class loading.
SystemDictionaryContains loaded classes, which maps a class name/Class Loader pair to a klassoop. The systemdictionary contains both Class Name/initiating loader pairs and class name/defining loader pairs. Entries are currently only
Removed at a safepoint. safepoints are described in more detail in the "VM operations and safepoints" section later in the chapter.
PlaceholderTableContains classes that are currently being loaded. It is used for classcircularityerror checking and for parallel class loading for class loaders that support multithreaded class loading.
LoaderConstraintTableTracks constraints for type safety checking. these hash tables are all guarded by a lock; in the HotSpot VM it is called the SystemDictionary_lock. in general, the load class phase in the HotSpot VM is serialized using
The Class loader object lock.