The PerfDataBufferPrologue class supports parsing of the version specific portions of the PerfDataPrologue C structure:
typedef struct { ... // handled by superclass jint used; // number of PerfData memory bytes used jint overflow; // number of bytes of overflow jlong mod_time_stamp; // time stamp of the last structural modification jint entry_offset; // offset of the first PerfDataEntry jint num_entries; // number of allocated PerfData entries } PerfDataPrologue
Modifier and Type | Field and Description |
---|---|
pack-priv static final String | |
pack-priv static final String | |
pack-priv static final String | |
pack-priv static final String | |
pack-priv static final String | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
private static final int | |
private static final int |
Access | Constructor and Description |
---|---|
public | PerfDataBufferPrologue(ByteBuffer
the buffer containing the binary header data byteBuffer)Create an instance of PerfDataBufferPrologue from the given ByteBuffer object. |
Modifier and Type | Method and Description |
---|---|
public int | Returns: int - the size of the bufferGet the size of the instrumentation memory buffer. |
public int | |
public long | |
public int | |
public int | |
public int | getSize()
Overrides sun. Get the size of the header portion of the instrumentation buffer. |
public int | Returns: int - the utilization of the bufferGet the utilization of the instrumentation memory buffer. |
public boolean | isAccessible()
Implements abstract sun. Get the accessible flag. |
pack-priv LongBuffer | Returns: LongBuffer - a ByteBuffer that accesses the modification time stamp value in the instrumentation buffer header.Return a LongBuffer that accesses the modification timestamp value. |
pack-priv IntBuffer | Returns: LongBuffer - a ByteBuffer that accesses the num_entries value in the instrumentation buffer header.Return an IntBuffer that accesses the number of entries value. |
pack-priv IntBuffer | Returns: IntBuffer - a ByteBuffer that accesses the overflow value in the instrumentation buffer header.Return an IntBuffer that accesses the overflow value. |
pack-priv IntBuffer | Returns: IntBuffer - a ByteBuffer that accesses the size value in the instrumentation buffer header.Return an IntBuffer that accesses the size value. |
public boolean | supportsAccessible()
Implements abstract sun. Test if the accessible flag is supported by this version of the PerfDataBufferPrologue. |
pack-priv IntBuffer | Returns: IntBuffer - a ByteBuffer that accesses the used value in the instrumentation buffer header.Return an IntBuffer that accesses the used value. |
PERFDATA_BUFFER_SIZE_NAME | back to summary |
---|---|
pack-priv static final String PERFDATA_BUFFER_SIZE_NAME |
PERFDATA_BUFFER_USED_NAME | back to summary |
---|---|
pack-priv static final String PERFDATA_BUFFER_USED_NAME |
PERFDATA_MODTIMESTAMP_NAME | back to summary |
---|---|
pack-priv static final String PERFDATA_MODTIMESTAMP_NAME |
PERFDATA_NUMENTRIES_NAME | back to summary |
---|---|
pack-priv static final String PERFDATA_NUMENTRIES_NAME |
PERFDATA_OVERFLOW_NAME | back to summary |
---|---|
pack-priv static final String PERFDATA_OVERFLOW_NAME |
PERFDATA_PROLOG_ACCESSIBLE_OFFSET | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_ACCESSIBLE_OFFSET |
PERFDATA_PROLOG_ACCESSIBLE_SIZE | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_ACCESSIBLE_SIZE |
PERFDATA_PROLOG_ENTRYOFFSET_OFFSET | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_ENTRYOFFSET_OFFSET |
PERFDATA_PROLOG_ENTRYOFFSET_SIZE | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_ENTRYOFFSET_SIZE |
PERFDATA_PROLOG_MODTIMESTAMP_OFFSET | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_MODTIMESTAMP_OFFSET |
PERFDATA_PROLOG_MODTIMESTAMP_SIZE | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_MODTIMESTAMP_SIZE |
PERFDATA_PROLOG_NUMENTRIES_OFFSET | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_NUMENTRIES_OFFSET |
PERFDATA_PROLOG_NUMENTRIES_SIZE | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_NUMENTRIES_SIZE |
PERFDATA_PROLOG_OVERFLOW_OFFSET | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_OVERFLOW_OFFSET |
PERFDATA_PROLOG_OVERFLOW_SIZE | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_OVERFLOW_SIZE |
PERFDATA_PROLOG_SIZE | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_SIZE Hides sun. |
PERFDATA_PROLOG_USED_OFFSET | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_USED_OFFSET |
PERFDATA_PROLOG_USED_SIZE | back to summary |
---|---|
pack-priv static final int PERFDATA_PROLOG_USED_SIZE |
SUPPORTED_MAJOR_VERSION | back to summary |
---|---|
private static final int SUPPORTED_MAJOR_VERSION |
SUPPORTED_MINOR_VERSION | back to summary |
---|---|
private static final int SUPPORTED_MINOR_VERSION |
PerfDataBufferPrologue | back to summary |
---|---|
public PerfDataBufferPrologue(ByteBuffer byteBuffer) throws MonitorException Create an instance of PerfDataBufferPrologue from the given ByteBuffer object.
|
getBufferSize | back to summary |
---|---|
public int getBufferSize() Get the size of the instrumentation memory buffer.
|
getEntryOffset | back to summary |
---|---|
public int getEntryOffset() Get the offset of the first PerfDataEntry. |
getModificationTimeStamp | back to summary |
---|---|
public long getModificationTimeStamp() Get the time of last modification for the instrumentation memory buffer. This method returns the time, as ticks since the start of the target JVM, of the last structural modification to the instrumentation buffer. Structural modifications correspond to the addition or deletion of instrumentation objects. Updates to counter values are not structural modifications. |
getNumEntries | back to summary |
---|---|
public int getNumEntries() Get the offset of the first PerfDataEntry. |
getOverflow | back to summary |
---|---|
public int getOverflow() Get the buffer overflow amount. This value is non-zero if the HotSpot JVM has overflowed the instrumentation memory buffer. The target JVM can be restarted with -XX:PerfDataMemSize=X to create a larger memory buffer.
|
getSize | back to summary |
---|---|
public int getSize() Overrides sun. Doc from sun. Get the size of the header portion of the instrumentation buffer.
|
getUsed | back to summary |
---|---|
public int getUsed() Get the utilization of the instrumentation memory buffer.
|
isAccessible | back to summary |
---|---|
public boolean isAccessible() Implements abstract sun. Doc from sun. Get the accessible flag. If supported, it indicates that the shared memory region is sufficiently initialized for client access.
|
modificationTimeStampBuffer | back to summary |
---|---|
pack-priv LongBuffer modificationTimeStampBuffer() Return a LongBuffer that accesses the modification timestamp value. This is used to create a Monitor object for this value.
|
numEntriesBuffer | back to summary |
---|---|
pack-priv IntBuffer numEntriesBuffer() Return an IntBuffer that accesses the number of entries value. This is used to create a Monitor object for this value.
|
overflowBuffer | back to summary |
---|---|
pack-priv IntBuffer overflowBuffer() Return an IntBuffer that accesses the overflow value. This is used to create a Monitor object for this value.
|
sizeBuffer | back to summary |
---|---|
pack-priv IntBuffer sizeBuffer() Return an IntBuffer that accesses the size value. This is used to create a Monitor object for this value.
|
supportsAccessible | back to summary |
---|---|
public boolean supportsAccessible() Implements abstract sun. Doc from sun. Test if the accessible flag is supported by this version of the PerfDataBufferPrologue. Although not an abstract method, this method should be overridden by version specific subclasses.
|
usedBuffer | back to summary |
---|---|
pack-priv IntBuffer usedBuffer() Return an IntBuffer that accesses the used value. This is used to create a Monitor object for this value. |