public class ObjectSizeOfAgent extends Object
WicketObjects.IObjectSizeOfStrategy at
WicketObjects.setObjectSizeOfStrategy(IObjectSizeOfStrategy). Note that this is a static
registration.| Constructor and Description |
|---|
ObjectSizeOfAgent() |
| Modifier and Type | Method and Description |
|---|---|
static void |
agentmain(String agentArgs,
Instrumentation instrumentation)
Initializes agent when it is attached to an already running JVM.
|
static void |
premain(String agentArgs,
Instrumentation instrumentation)
Initializes agent before the main function of the application is executed.
|
public static void agentmain(String agentArgs, Instrumentation instrumentation)
agentArgs - Arguments passed in to the agentinstrumentation - The instrumentation classpublic static void premain(String agentArgs, Instrumentation instrumentation)
agentArgs - Arguments passed in to the agentinstrumentation - The instrumentation classCopyright © 2006–2022 Apache Software Foundation. All rights reserved.