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 load issue #40

Open
bolunli11 opened this issue Jan 17, 2021 · 0 comments
Open

Dynamic load issue #40

bolunli11 opened this issue Jan 17, 2021 · 0 comments

Comments

@bolunli11
Copy link

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 if I'm wrong here).

To attach allocation-instrumenter to a running process, I created an agentmain method in AllocationInstrumenter.java. Now I can see that the Allocation-instrumenter's java agent has been attached to a running process successfully. However, the recordAllocation method won't be invoked during allocation. I'm wondering that does asm support this dynamic way to monitor allocations?

Thank you!

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

1 participant