This is the first step of JDK-8315737
- If -XX:+ AOTClassLinking is specified during CDS archive assembly, marked all applicable classes in the archive that should be loaded immediately upon application start (aka "preloaded classes").
- At application start, if its CDS archive(s) were created with -XX:+ AOTClassLinking, disable CDS completely when an incompatible configuration is detected (e.g., if JVMTI ClassFileLoadHook is enabled).
- When the three main class loaders (boot, platform, app) are created, add AOT-linked classes to these loaders.