This class is responsible for acquiring the instrumentation buffer data for a remote target HotSpot Java Virtual Machine.
| Modifier and Type | Field and Description |
|---|---|
| private RemoteVm |
| Access | Constructor and Description |
|---|---|
| public | PerfDataBuffer(RemoteVm
the proxy to the remote MonitredVm object rvm, int the local Java Virtual Machine Identifier of the
remote target. lvmid)Create a PerfDataBuffer instance for accessing the specified instrumentation buffer. |
| Modifier and Type | Method and Description |
|---|---|
| public void | sample(ByteBuffer
the buffer to receive the copy of the remote
instrumentation buffer. buffer)Get a copy of the remote instrumentation buffer. |
| rvm | back to summary |
|---|---|
| private RemoteVm rvm | |
| PerfDataBuffer | back to summary |
|---|---|
| public PerfDataBuffer(RemoteVm rvm, int lvmid) throws MonitorException Create a PerfDataBuffer instance for accessing the specified instrumentation buffer.
| |
| sample | back to summary |
|---|---|
| public void sample(ByteBuffer buffer) throws RemoteException Get a copy of the remote instrumentation buffer. The data in the remote instrumentation buffer is copied into the local byte buffer.
| |