Class InstrumentationSupport

java.lang.Object
org.openjdk.jol.vm.InstrumentationSupport

class InstrumentationSupport extends Object
Instrumentation API support.
  • Field Details

    • INSTRUMENTATION

      private static Instrumentation INSTRUMENTATION
    • TRY_INSTALL_ATTACH

      private static boolean TRY_INSTALL_ATTACH
    • TRY_DYNAMIC_ATTACH

      private static boolean TRY_DYNAMIC_ATTACH
  • Constructor Details

    • InstrumentationSupport

      InstrumentationSupport()
  • Method Details

    • premain

      public static void premain(String agentArgs, Instrumentation inst)
    • instance

      static Instrumentation instance()
    • tryAlreadyAttached

      private static void tryAlreadyAttached()
    • tryDynamicAttach

      private static void tryDynamicAttach() throws Exception
      Throws:
      Exception
    • saveAgentJar

      private static void saveAgentJar(File agentFile) throws Exception
      Throws:
      Exception