Package org.openjdk.jmc.agent.util
Class ModuleUtils
- java.lang.Object
-
- org.openjdk.jmc.agent.util.ModuleUtils
-
public class ModuleUtils extends java.lang.Object
Utility for dealing with module system specifics.
-
-
Constructor Summary
Constructors Constructor Description ModuleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.reflect.Method
getRedefineModuleMethod()
static void
openUnsafePackage(java.lang.instrument.Instrumentation instrumentation)
Allows the agent's module to access the Unsafe class when running on JDK 11 or newer.
-