| Modifier and Type | Field and Description |
|---|---|
| private static volatile Instrumentation | |
| private static final String | |
| private static final Logger | |
| private static final String | |
| private static final Method | |
| private static final String | |
| private static final Method | |
| private static final Method |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean | |
| pack-priv static long | Returns: size of the object in bytesobject to be sized obj)Returns the size of this Java object as calculated by the loaded agent. |
| private static File | |
| private static List | |
| private static Class | |
| pack-priv static boolean | Returns: true if agent was loaded (which could have happened thought the -javaagent switch)Attempts to load the agent through the Attach API |
| private static void |
| instrumentation | back to summary |
|---|---|
| private static volatile Instrumentation instrumentation | |
| INSTRUMENTATION_INSTANCE_SYSTEM_PROPERTY_NAME | back to summary |
|---|---|
| private static final String INSTRUMENTATION_INSTANCE_SYSTEM_PROPERTY_NAME | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| SIZEOF_AGENT_CLASSNAME | back to summary |
|---|---|
| private static final String SIZEOF_AGENT_CLASSNAME | |
| VIRTUAL_MACHINE_ATTACH | back to summary |
|---|---|
| private static final Method VIRTUAL_MACHINE_ATTACH | |
| VIRTUAL_MACHINE_CLASSNAME | back to summary |
|---|---|
| private static final String VIRTUAL_MACHINE_CLASSNAME | |
| VIRTUAL_MACHINE_DETACH | back to summary |
|---|---|
| private static final Method VIRTUAL_MACHINE_DETACH | |
| VIRTUAL_MACHINE_LOAD_AGENT | back to summary |
|---|---|
| private static final Method VIRTUAL_MACHINE_LOAD_AGENT | |
| AgentLoader | back to summary |
|---|---|
| pack-priv AgentLoader() | |
| agentIsAvailable | back to summary |
|---|---|
| pack-priv static boolean agentIsAvailable() Checks whether the agent is available
| |
| agentSizeOf | back to summary |
|---|---|
| pack-priv static long agentSizeOf(Object obj) Returns the size of this Java object as calculated by the loaded agent.
| |
| getAgentFile | back to summary |
|---|---|
| private static File getAgentFile() throws IOException, URISyntaxException | |
| getPossibleToolsJars | back to summary |
|---|---|
| private static List | |
| getVirtualMachineClass | back to summary |
|---|---|
| private static Class | |
| loadAgent | back to summary |
|---|---|
| pack-priv static boolean loadAgent() Attempts to load the agent through the Attach API
| |
| warnIfOSX | back to summary |
|---|---|
| private static void warnIfOSX() | |