Package org.openjdk.jmc.agent.util
Class ModuleUtils
java.lang.Object
org.openjdk.jmc.agent.util.ModuleUtils
Utility for dealing with module system specifics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Methodstatic voidopenUnsafePackage(Instrumentation instrumentation) Allows the agent's module to access the Unsafe class when running on JDK 11 or newer.
-
Constructor Details
-
ModuleUtils
public ModuleUtils()
-
-
Method Details
-
openUnsafePackage
Allows the agent's module to access the Unsafe class when running on JDK 11 or newer. -
getRedefineModuleMethod
-