google / google/allocation-instrumenter

Dynamic load issue

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

Description

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!

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.