-XX:PerfDataMemorySize=<bytes> option. If there is
insufficient memory in the jvmstat perf buffer, the C heap memory
will be used and thus the application will continue to run if
the counters added exceeds the buffer size but the counters
will be missing.
See HotSpot jvmstat implementation for certain circumstances
that the jvmstat perf buffer is not supported.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final LongBuffer | |
| private final String | |
| private static final Perf | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public void | addElapsedTimeFrom(long startTime)
Adds the elapsed time from the given start time (ns) to the perf counter. |
| public void | |
| public synchronized long | |
| public static PerfCounter | |
| public static PerfCounter | getFindClassTime()
Time (ns) spent in finding classes that includes lookup and read class bytes and defineClass |
| public static PerfCounter | getParentDelegationTime()
Time (ns) spent in the parent delegation to the parent of the defining class loader |
| public static PerfCounter | |
| public static PerfCounter | |
| public static PerfCounter | getZipFileOpenTime()
Time (ns) spent in opening the zip files that includes building the entries hash table |
| public void | |
| public static PerfCounter | |
| public static PerfCounter | |
| public synchronized void | |
| public String |
| lb | back to summary |
|---|---|
| private final LongBuffer lb | |
| name | back to summary |
|---|---|
| private final String name | |
| perf | back to summary |
|---|---|
| private static final Perf perf | |
| U_None | back to summary |
|---|---|
| private static final int U_None | |
| V_Constant | back to summary |
|---|---|
| private static final int V_Constant | |
| V_Monotonic | back to summary |
|---|---|
| private static final int V_Monotonic | |
| V_Variable | back to summary |
|---|---|
| private static final int V_Variable | |
| PerfCounter | back to summary |
|---|---|
| private PerfCounter(String name, int type) | |
| add | back to summary |
|---|---|
| public synchronized void add(long value) Adds the given value to the perf counter. | |
| addElapsedTimeFrom | back to summary |
|---|---|
| public void addElapsedTimeFrom(long startTime) Adds the elapsed time from the given start time (ns) to the perf counter. | |
| addTime | back to summary |
|---|---|
| public void addTime(long interval) Adds the given interval to the perf counter. | |
| get | back to summary |
|---|---|
| public synchronized long get() Returns the current value of the perf counter. | |
| getFindClasses | back to summary |
|---|---|
| public static PerfCounter getFindClasses() Number of findClass calls | |
| getFindClassTime | back to summary |
|---|---|
| public static PerfCounter getFindClassTime() Time (ns) spent in finding classes that includes lookup and read class bytes and defineClass | |
| getParentDelegationTime | back to summary |
|---|---|
| public static PerfCounter getParentDelegationTime() Time (ns) spent in the parent delegation to the parent of the defining class loader | |
| getReadClassBytesTime | back to summary |
|---|---|
| public static PerfCounter getReadClassBytesTime() Time (ns) spent in finding classes | |
| getZipFileCount | back to summary |
|---|---|
| public static PerfCounter getZipFileCount() Number of zip files opened. | |
| getZipFileOpenTime | back to summary |
|---|---|
| public static PerfCounter getZipFileOpenTime() Time (ns) spent in opening the zip files that includes building the entries hash table | |
| increment | back to summary |
|---|---|
| public void increment() Increments the perf counter with 1. | |
| newConstantPerfCounter | back to summary |
|---|---|
| public static PerfCounter newConstantPerfCounter(String name) | |
| newPerfCounter | back to summary |
|---|---|
| public static PerfCounter newPerfCounter(String name) | |
| set | back to summary |
|---|---|
| public synchronized void set(long newValue) Sets the value of the perf counter to the given newValue. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final PerfCounter | |
| pack-priv static final PerfCounter | |
| pack-priv static final PerfCounter | |
| pack-priv static final PerfCounter | |
| pack-priv static final PerfCounter | |
| pack-priv static final PerfCounter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| lc | back to summary |
|---|---|
| pack-priv static final PerfCounter lc | |
| lct | back to summary |
|---|---|
| pack-priv static final PerfCounter lct | |
| pdt | back to summary |
|---|---|
| pack-priv static final PerfCounter pdt | |
| rcbt | back to summary |
|---|---|
| pack-priv static final PerfCounter rcbt | |
| zfc | back to summary |
|---|---|
| pack-priv static final PerfCounter zfc | |
| zfot | back to summary |
|---|---|
| pack-priv static final PerfCounter zfot | |
| CoreCounters | back to summary |
|---|---|
| pack-priv CoreCounters() | |