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

[GR-53596] Support dumping NMT reports on SIGUSR1 #8876

Closed

Conversation

roberttoyonaga
Copy link
Collaborator

Summary

This PR adds support for dumping NTM reports on SIGUSR1. SIGUSR1 is shared with the heap dump feature. If both heap dump and NMT features are included in the image, then both types of report will be dumped.

This change will allow users to sample NMT data at arbitrary points in application execution. Previously, you could only get a report once the application finishes.

Related GH issue: #8814

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 2, 2024
@fniephaus fniephaus requested a review from christianhaeubl May 3, 2024 06:03
@christianhaeubl christianhaeubl changed the title Support dumping NMT reports on SIGUSR1 [GR-53596] Support dumping NMT reports on SIGUSR1 May 13, 2024
@roberttoyonaga
Copy link
Collaborator Author

Dumping NMT reports through JCMD is preferred over this method using signals. If #9232 is integrated, we should not integrate this PR.

@christianhaeubl
Copy link
Member

The plan is to integrate #9232, so I am closing this PR for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants