Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6712

Transformations defined in agent args not applied when loading dynamically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8.0.0
    • None
    • Mission Control Core
    • None

      When loading dynamically, the agent doesn't necessarily perform the transformations defined in the XML probes supplied as a path argument.

      When the agent initialises, it creates a class file transformer. The transformer then waits for classes with pending transformations to be loaded, or to be explicitly submitted with 'instrumentation.retransformClasses(Class[])'.

      Without the agent itself explicitly calling 'instrumentation.retransformClasses(Class[])' on classes with pending transformations, such transformations will never apply.

            jescolem Jessye Coleman-Shapiro
            jescolem Jessye Coleman-Shapiro
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: