Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8155207

Updates for module aware agents

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc
    • Labels:

      Description

      Input from Alan:

      Most of the support for module aware agents went into JDK 9 as part of the module system in jdk-9+111. JDK-8153749 is in progress to add an additional capability that will allow agents get the CFLH in the primordial phase.

      Remaining issues that need examination are:

      1. There is currently isn't a way for agents to get the Module in a ClassFileLoadHook event for a class load (for a retransform then class_being_redefined is non-NULL and so the agent can use JNI GetModule).

      2. Should the new transform method in ClassFileTransformer provide the ClassLoader in addition to the Module?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sspitsyn Serguei Spitsyn
                Reporter:
                sspitsyn Serguei Spitsyn
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: