Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8147465 :
|
|
JDK-8147467 :
|
This task tracks the updates to JVM TI and java.lang.instrument to allow agents instrument code in named modules. Specifically it requires: 1. Adding support for an early JVM TI Start phase to allow agents get CFLH early during VM and module system initialisation. 2. Investigating whether the CompiledMethodLoad and DynamicCodeGenerated event can be sent in the Start phase. 3. Adding a new transform method to ClassFileTransformer that provides the transformer with the Module of the class that is being loaded/redefined. 4. Agents doing dynamic instrumentation cannot add class initializers and so will likely need a way to add arbitrary read edges. JVM TI agents can use the JNI functions to do that. Java agents will need further consideration.
|