Class ClassLoadingRecorder

java.lang.Object
io.quarkus.deployment.pkg.steps.ClassLoadingRecorder

public class ClassLoadingRecorder extends Object
Self-contained main class executed in a forked JVM by ForkedJvmEnvironment.

Reads entry point class names and known class names from an input file, loads and instantiates each entry point in a recording classloader that captures all loadClass() attempts, and prints discovered class names to stdout.

Running in a separate process ensures complete isolation of global JVM state (System.out/err, security providers, system properties, TCCL) and that all Metaspace consumed by defineClass() is reclaimed when the process exits.

  • Constructor Details

    • ClassLoadingRecorder

      public ClassLoadingRecorder()
  • Method Details