Skip to content

Sampling PGO support #7648

Answered by axel22
zamazan4ik asked this question in Ideas
Oct 22, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Yes, the PGO in GraalVM EE does both instrumentation and sampling in the last two releases.
The call-stack samples are included in the .iprof files next to the instrumentation profiles.
On nightlies (didn't check if it made it to the last release), there is an option -H:+BuildReport -H:+BuildReportSamplerFlamegraph that will render these samples inside the build report file (so that they can be inspected visually in a flame graph).
The samples are used to improve some of the EE optimizations.

We will improve our official documentation to explain this better.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zamazan4ik
Comment options

@zamazan4ik
Comment options

Answer selected by alina-yur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants