public class BufferAlignmentAgent
extends java.lang.Object
DirectBuffer implementations are aligned.
Unaligned accesses can be slower or even make the JVM crash on some architectures.
Using this agent will avoid such crashes, but it has a performance overhead and should only be used for testing and debugging
| Constructor and Description |
|---|
BufferAlignmentAgent() |
| Modifier and Type | Method and Description |
|---|---|
static void |
agentmain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation instrumentation) |
static void |
premain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation instrumentation) |
static void |
removeTransformer() |
public static void premain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation instrumentation)
public static void agentmain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation instrumentation)
public static void removeTransformer()
Copyright © 2014-2017 Real Logic Ltd. All Rights Reserved.