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

Transformations defined in agent args not applied when loading dynamically

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: Mission Control Core
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: