Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Loading of Instrumentation Agent #12

Closed
GenghisChen opened this issue May 21, 2014 · 1 comment
Closed

Dynamic Loading of Instrumentation Agent #12

GenghisChen opened this issue May 21, 2014 · 1 comment

Comments

@GenghisChen
Copy link

I'd like to use this library using dynamic loading, that is, without the command-line parameter.

For that, I need the following line added to the manifest (build.xml:80)

Also, the following method should be placed in MemoryMeter.java
public static void agentmain(String options, Instrumentation inst) {
MemoryMeter.instrumentation = inst;
}

Thanks
Chen

mebigfatguy added a commit that referenced this issue May 22, 2014
@mebigfatguy
Copy link
Collaborator

added, let me me know if anything else needs to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants