Package org.agrona.agent
Java agent for instrumenting
DirectBuffer
implementations to verify aligned access.-
Class Summary Class Description BufferAlignmentAgent A Java agent that verifies that all memory accesses inDirectBuffer
implementations are aligned.BufferAlignmentAgent.AgentBuilderListener BufferAlignmentInterceptor Interceptor to be applied when verifying buffer alignment accesses.BufferAlignmentInterceptor.CharVerifier Verifier forchar
types.BufferAlignmentInterceptor.DoubleVerifier Verifier fordouble
types.BufferAlignmentInterceptor.FloatVerifier Verifier forfloat
types.BufferAlignmentInterceptor.IntVerifier Verifier forint
types.BufferAlignmentInterceptor.LongVerifier Verifier forlong
types.BufferAlignmentInterceptor.ShortVerifier Verifier forshort
types. -
Exception Summary Exception Description BufferAlignmentException Runtime Exception thrown byBufferAlignmentAgent
when an unaligned memory access is detected.