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

Add support for jcmd Compiler.perfmap #298

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theothornhill
Copy link

@theothornhill theothornhill commented Apr 30, 2024

Even though the perf "spec" for jit languages define the perf map syntax, the jcmd Compiler.perfmap insists on prepending 0x to the addresses.

In addition, there's now a way for the jvm to generate the perfmap automatically on exit, making magic-trace run -multi-thread -snapshot-size 1M -- ./demo/java return something useful without messing around with perfmap generation. Add these options to the ./demo/java file

Even though the perf "spec" for jit languages defines the perf map syntax, the
jcmd Compiler.perfmap insists on prepending 0x to the addresses.

In addition, there's now a way for the jvm to generate the perfmap automatically
on exit, making `magic-trace run -multi-thread -snapshot-size 1M -- ./demo/java`
return something useful without messing around with perfmap generation. Add
these options to the ./demo/java file

Signed-off-by: Theodor Thornhill <theo@thornhill.no>
@theothornhill
Copy link
Author

Ping! 😊

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

Successfully merging this pull request may close these issues.

None yet

1 participant