Registry / observability / java-allocation-instrumenter

java-allocation-instrumenter

JSON →
library3.3.5javamavenunverified

Java agent that rewrites bytecode to instrument object allocation sites.

<dependency> <groupId>com.google.code.java-allocation-instrumenter</groupId> <artifactId>java-allocation-instrumenter</artifactId> <version>3.3.5</version> </dependency>
INSTALL
IMPORT
SIG · JAVA-ALLOCATION-IN
J
java-allocation-instrumenter
observabilityjavav3.3.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AllocationInstrumenter
com.google.code.java_allocation_instrumenter.AllocationInstrumenter

Loads the allocation instrumenter agent.

import com.google.code.java_allocation_instrumenter.AllocationInstrumenter; public class Example { public static void main(String[] args) throws Exception { AllocationInstrumenter.premain(null, null); System.out.println("Instrumentation agent loaded"); } }
Debug
Known issues
gotchaRequires JVM agent startup; cannot be used as a regular library.
fix
Add -javaagent:path/to/java-allocation-instrumenter.jar to JVM arguments.
affects: *
Upgrade
Version history
3.3.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
java-allocation-instrumenter — mvn dependency:get java-allocation-instrumenter · libregistry