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

An option to accumulate JFR events in memory instead of flushing to a file #925

Merged
merged 4 commits into from
May 7, 2024

Conversation

apangin
Copy link
Collaborator

@apangin apangin commented May 7, 2024

Added jfropts=mem argument backed by memfd_create and supported on Linux 3.17+.
With this option, async-profiler does not dump events to a disk while profiling session is running. All events are flushed after the profiling session terminates.

As a side change, previously undocumented syntax jfr=options is no longer supported.

@apangin apangin merged commit 9733a08 into master May 7, 2024
2 checks passed
@apangin apangin deleted the memfd branch May 7, 2024 22:59
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