static Instrumentation getInstrumentation() {
    return instrumentation;
  }
The logic for recording allocations, called from bytecode rewritten by {@link
AllocationInstrumenter}.
src/main/java/com/google/monitoring/runtime/instrumentation/AllocationRecorder.java