allocation-instrumenter
allocation-instrumenter copied to clipboard
A Java agent that rewrites bytecode to instrument allocation sites
Package artifact id: allocation-instrumenter source code url: https://github.com/google/allocation-instrumenter/tree/java-allocation-instrumenter-3.3.0 Issue Description: Failing while building java-allocation-instrumenter version 3.3.0 using mvn clean install (java-allocation-instrumenter3.3.0) JDK Version: 1.8 Build CMD: mvn clean install MVN...
Based on findings from https://github.com/bazelbuild/bazel/issues/14890#issuecomment-1049057981 looks like some string concatenations are not reported. makeConcat was introduced in java 9 - see https://openjdk.java.net/jeps/280 and implementation in java 11 in http://hg.openjdk.java.net/jdk/jdk11/file/jdk-11+28/src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java#l1483 Possibly...
The allocation-instrumenter uses the shade plugin to include some guava classes into its jar. Any project - such as Log4j 2 - that includes this tool as a test dependency...
Hi, I'm using Allocation-instrumenter for some running Java process. Based on my understanding, the current allocation-instrumenter doesn't support dynamic load, because it only contains the premain method (please correct me...
Hello, Since the JDK 11 already had a way to monitor object allocations (https://openjdk.java.net/jeps/331), what's the new feature the allocation-instrumenter can provide? Thanks!
Is there an option to limit instrumentation by package/class name (incl. wildcard)? Or to exclude packages which cause problems? Our program does not start if we use Google Guice and...
I.e. can it handle the case that Byte Buddy can't yet (see: https://github.com/raphw/byte-buddy/issues/375), when constructors throw exceptions?
JOL has this neat way of attaching the agent at runtime to avoid requiring users to pass -javaagent on the cmdline. http://hg.openjdk.java.net/code-tools/jol/file/9c716b63a6cf/jol-core/src/main/java/org/openjdk/jol/util/InstrumentationSupport.java Would you be willing to adopt that approach...
Hi Team, We upgraded java-allocation-instrumenter from 3.0 to 3.4.0. We use AdoptOpenJdk1.8. Post upgrade AllocationRecorder.getInstrumentation() in ConstructorInstrumenter is being returned as null. The same was earlier getting mapped to sun.instrument.InstrumentationImpl...