static class GCProfiler.HotspotAllocationSnapshot
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long[] |
allocatedBytes |
static GCProfiler.HotspotAllocationSnapshot |
EMPTY |
private long[] |
threadIds |
Modifier | Constructor and Description |
---|---|
private |
HotspotAllocationSnapshot(long[] threadIds,
long[] allocatedBytes) |
Modifier and Type | Method and Description |
---|---|
long |
subtract(GCProfiler.HotspotAllocationSnapshot other)
Estimates allocated bytes based on two snapshots.
|
public static final GCProfiler.HotspotAllocationSnapshot EMPTY
private final long[] threadIds
private final long[] allocatedBytes
private HotspotAllocationSnapshot(long[] threadIds, long[] allocatedBytes)
public long subtract(GCProfiler.HotspotAllocationSnapshot other)
Current thread is intentionally excluded since it believed to execute jmh infrastructure code only.