AbstractPerfDataBuffer
| Modifier and Type | Field and Description |
|---|---|
| private static final ArrayList | |
| pack-priv ArrayList | |
| pack-priv long | |
| pack-priv int | |
| pack-priv int | |
| pack-priv IntegerMonitor | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv PerfDataBufferPrologue | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | PerfDataBuffer(ByteBuffer
the buffer containing the instrumentation data buffer, int the Local Java Virtual Machine Identifier for this
instrumentation buffer. lvmid)Construct a PerfDataBufferImpl instance. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | buildMonitorMap(Map<String, Monitor> map)
Implements abstract sun. build the map of Monitor objects. |
| protected void | buildPseudoMonitors(Map<String, Monitor> map)
Build the pseudo monitors used to map the prolog data into counters. |
| protected MonitorStatus | getMonitorStatus(Map<String, Monitor> map)
Implements abstract sun. get the list of inserted and removed monitors since last called. |
| protected void | getNewMonitors(Map<String, Monitor> map)
Implements abstract sun. get the new Monitor objects from the Map of Monitor objects. |
| protected Monitor | |
| protected Monitor | |
| protected void | synchWithTarget(Map<String, Monitor> map)
Method to provide a gross level of synchronization with the target monitored jvm. |
| EMPTY_LIST | back to summary |
|---|---|
| private static final ArrayList<Monitor> EMPTY_LIST | |
| insertedMonitors | back to summary |
|---|---|
| pack-priv ArrayList<Monitor> insertedMonitors | |
| lastModificationTime | back to summary |
|---|---|
| pack-priv long lastModificationTime | |
| lastUsed | back to summary |
|---|---|
| pack-priv int lastUsed | |
| nextEntry | back to summary |
|---|---|
| pack-priv int nextEntry | |
| overflow | back to summary |
|---|---|
| pack-priv IntegerMonitor overflow | |
| PERFDATA_DATAATTR_OFFSET | back to summary |
|---|---|
| private static final int PERFDATA_DATAATTR_OFFSET | |
| PERFDATA_DATAATTR_SIZE | back to summary |
|---|---|
| private static final int PERFDATA_DATAATTR_SIZE | |
| PERFDATA_DATATYPE_OFFSET | back to summary |
|---|---|
| private static final int PERFDATA_DATATYPE_OFFSET | |
| PERFDATA_DATATYPE_SIZE | back to summary |
|---|---|
| private static final int PERFDATA_DATATYPE_SIZE | |
| PERFDATA_DATAUNITS_OFFSET | back to summary |
|---|---|
| private static final int PERFDATA_DATAUNITS_OFFSET | |
| PERFDATA_DATAUNITS_SIZE | back to summary |
|---|---|
| private static final int PERFDATA_DATAUNITS_SIZE | |
| PERFDATA_ENTRYLENGTH_OFFSET | back to summary |
|---|---|
| private static final int PERFDATA_ENTRYLENGTH_OFFSET | |
| PERFDATA_ENTRYLENGTH_SIZE | back to summary |
|---|---|
| private static final int PERFDATA_ENTRYLENGTH_SIZE | |
| PERFDATA_FLAGS_OFFSET | back to summary |
|---|---|
| private static final int PERFDATA_FLAGS_OFFSET | |
| PERFDATA_FLAGS_SIZE | back to summary |
|---|---|
| private static final int PERFDATA_FLAGS_SIZE | |
| PERFDATA_NAME_OFFSET | back to summary |
|---|---|
| private static final int PERFDATA_NAME_OFFSET | |
| PERFDATA_NAMELENGTH_OFFSET | back to summary |
|---|---|
| private static final int PERFDATA_NAMELENGTH_OFFSET | |
| PERFDATA_NAMELENGTH_SIZE | back to summary |
|---|---|
| private static final int PERFDATA_NAMELENGTH_SIZE | |
| PERFDATA_VECTORLENGTH_OFFSET | back to summary |
|---|---|
| private static final int PERFDATA_VECTORLENGTH_OFFSET | |
| PERFDATA_VECTORLENGTH_SIZE | back to summary |
|---|---|
| private static final int PERFDATA_VECTORLENGTH_SIZE | |
| perfDataItem | back to summary |
|---|---|
| pack-priv int perfDataItem | |
| pollForEntry | back to summary |
|---|---|
| pack-priv int pollForEntry | |
| prologue | back to summary |
|---|---|
| pack-priv PerfDataBufferPrologue prologue | |
| syncWaitMs | back to summary |
|---|---|
| private static final int syncWaitMs | |
| PerfDataBuffer | back to summary |
|---|---|
| public PerfDataBuffer(ByteBuffer buffer, int lvmid) throws MonitorException Construct a PerfDataBufferImpl instance.
This class is dynamically loaded by
| |
| buildMonitorMap | back to summary |
|---|---|
| protected void buildMonitorMap(Map<String, Monitor> map) throws MonitorException Implements abstract sun. Doc from sun. build the map of Monitor objects.
| |
| buildPseudoMonitors | back to summary |
|---|---|
| protected void buildPseudoMonitors(Map<String, Monitor> map) Build the pseudo monitors used to map the prolog data into counters. | |
| getMonitorStatus | back to summary |
|---|---|
| protected MonitorStatus getMonitorStatus(Map<String, Monitor> map) throws MonitorException Implements abstract sun. Doc from sun. get the list of inserted and removed monitors since last called.
| |
| getNewMonitors | back to summary |
|---|---|
| protected void getNewMonitors(Map<String, Monitor> map) throws MonitorException Implements abstract sun. Doc from sun. get the new Monitor objects from the Map of Monitor objects.
| |
| getNextMonitorEntry | back to summary |
|---|---|
| protected Monitor getNextMonitorEntry() throws MonitorException method to extract the next monitor entry from the instrumentation memory. assumes that nextEntry is the offset into the byte array at which to start the search for the next entry. method leaves next entry pointing to the next entry or to the end of data. | |
| pollFor | back to summary |
|---|---|
| protected Monitor pollFor(Map<String, Monitor> map, String name, long timeLimit) throws MonitorException Method to poll the instrumentation memory for a counter with the given name. The polling period is bounded by the timeLimit argument. | |
| synchWithTarget | back to summary |
|---|---|
| protected void synchWithTarget(Map<String, Monitor> map) throws MonitorException Method to provide a gross level of synchronization with the target monitored jvm. gross synchronization works by polling for the hotspot.rt.hrt.frequency constant, which is created by the PerfData initialization code. The creation of constants is one of the last things done in vm initialization. | |