return Long.valueOf(0L);
}
};
public InstrumentedThreadAllocationTracer() {
AllocationRecorder.addSampler(new Sampler() {
@Override
public void sampleAllocation(int count, String desc, Object newObject, long size) {
allocationSize.set(allocationSize.get() + size);
}
});