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

Updates for module aware agents

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 9
    • 9
    • core-svc

      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?

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

              Created:
              Updated:
              Resolved: