-
Notifications
You must be signed in to change notification settings - Fork 260
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
Generating mappings for transient java processes / agentlib mode #27
Comments
The first question would be whether those JVM processes are running long enough to have sufficient code compiled at all. Otherwise, you'd just get a lot of opaque The actual functionality would probably need the To get there we'd need:
All of these would be interesting to implement but not a short-term goal for now. |
Thanks for the response! I'm motivated to get something like this working, since full system stack trace profilers that can examine transient JITs seem rare (or nonexistent?), but I'd like something like this for my research. What do you think it would take to resurrect the persistent mode for the agent? I'm new to the JVMTI, but it looks like the agent would just need to implement Agent_OnLoad to register the same callbacks at startup, and just not close the the perf-map file, right? In addition to the right JAVA_TOOL_OPTIONS to get the agent loaded. The load/unload events you're referring to are CompiledMethod(Load / Unload)? |
This is old thread, but to get mappings after java process termination you can use |
Cool, thanks for sharing! |
Hi all,
I'm trying to profile systems that consist of lots of java processes being started and stopped over time. Does anyone know of a way to ensure that I can get a symbol mapping of each java process that gets run on my system? Just running once won't capture these transient processes, so I'd ideally like something that automatically makes a symbol dump, maybe on process termination? Any thoughts would be appreciate.
Not sure if this is the right place to ask, feel free to point me somewhere else!
Thanks a lot for this tool.
The text was updated successfully, but these errors were encountered: