Package org.openjdk.jmc.agent
Class Transformer
java.lang.Object
org.openjdk.jmc.agent.Transformer
- All Implemented Interfaces:
ClassFileTransformer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate byte[]doJFRLogging(JFRTransformDescriptor td, byte[] classfileBuffer, ClassLoader definingClassLoader, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) private byte[]doTransform(TransformDescriptor td, byte[] classfileBuffer, ClassLoader definingClassLoader, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) private byte[]doTransforms(List<TransformDescriptor> transformDataList, byte[] classfileBuffer, ClassLoader definingClassLoader, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) byte[]transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
Field Details
-
registry
-
-
Constructor Details
-
Transformer
-
-
Method Details
-
transform
public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException - Specified by:
transformin interfaceClassFileTransformer- Throws:
IllegalClassFormatException
-
doTransforms
private byte[] doTransforms(List<TransformDescriptor> transformDataList, byte[] classfileBuffer, ClassLoader definingClassLoader, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) -
doTransform
private byte[] doTransform(TransformDescriptor td, byte[] classfileBuffer, ClassLoader definingClassLoader, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) -
doJFRLogging
private byte[] doJFRLogging(JFRTransformDescriptor td, byte[] classfileBuffer, ClassLoader definingClassLoader, Class<?> classBeingRedefined, ProtectionDomain protectionDomain)
-