/** * Construct a PerfDataBufferImpl instance. * * <p>This class is dynamically loaded by {@link AbstractPerfDataBuffer#createPerfDataBuffer}, and * this constructor is called to instantiate the instance. * * @param buffer the buffer containing the instrumentation data * @param lvmid the Local Java Virtual Machine Identifier for this instrumentation buffer. */ public PerfDataBuffer(ByteBuffer buffer, int lvmid) throws MonitorException { super(buffer, lvmid); prologue = new PerfDataBufferPrologue(buffer); this.buffer.order(prologue.getByteOrder()); }