Is it possible for one Java native agent to access symbols exposed by another Java native agent?

24 views Asked by At

I have two Java native agents to be used via the "-agentpath" argument and I want to share some state via global variables between these two native agents. If I export a global variable in one native agent, can it be accessed by the other native agent? Thank you!

1

There are 1 answers

0
brian On

FYI, wrapping the shared global variables in another shared library (.so) file solved my problem.