Updates for module aware agents

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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?

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

              Created:
              Updated:
              Resolved: