google / google/allocation-instrumenter

Dynamic attach java agent

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
492
Forks
89
PR merge metrics
No merged PRs in 30d

Description

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 in this lib?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.