Interface AgentStarter


public interface AgentStarter
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    When running on oracle jdk8 before 1.8.0_40 loading lambda classes inside agent premain will cause jvm to crash later when lambdas get jit compiled.
    Get extension class loader.
    void
    Transfer control to startup logic in agent class loader.
  • Method Details

    • delayStart

      boolean delayStart()
      When running on oracle jdk8 before 1.8.0_40 loading lambda classes inside agent premain will cause jvm to crash later when lambdas get jit compiled. To circumvent this crash we delay agent initialization to right before main method is called where loading lambda classes work fine.
      Returns:
      true when agent initialization will continue from a callback
    • start

      void start()
      Transfer control to startup logic in agent class loader.
    • getExtensionClassLoader

      ClassLoader getExtensionClassLoader()
      Get extension class loader.
      Returns:
      class loader that is capable of loading configured extensions