Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902722

Use Launcher-Agent-Class for injecting Instrumentation support

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • jol

      JDK 9+ added the Launcher-Agent-Class that can be used for attaching the Java Agent when JOL is invoked via the Executable JAR: https://docs.oracle.com/javase/9/docs/api/java/lang/instrument/package-summary.html#:~:text=name%20or%20path.-,Launcher%2DAgent%2DClass,application%20main%20method%20is%20invoked.

      Adding it to jol-cli and jol-samples might be in order.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: