allocation-instrumenter
allocation-instrumenter copied to clipboard
Dynamic load issue
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!