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

Restore OpenJ9DiagnosticsMXBean registration call in ManagementUtils #17726

Merged

Conversation

babsingh
Copy link
Contributor

@babsingh babsingh commented Jun 30, 2023

The registration call was removed in #17709 due to a false
assumption. It has been added back since it is still required.

Refs:

@babsingh
Copy link
Contributor Author

fyi @keithc-ca @pshipton

@keithc-ca keithc-ca self-requested a review June 30, 2023 20:03
@babsingh babsingh force-pushed the support_HotSpotDiagnosticMXBean branch from fd4edae to 99a761d Compare June 30, 2023 20:17
@babsingh babsingh changed the title Readd MXBean registration calls in ManagementUtils Add the OpenJ9DiagnosticsMXBean registration call in ManagementUtils Jun 30, 2023
@pshipton
Copy link
Member

@babsingh while you are here, can you pls update the comment // register standard singleton beans to add " for jdk8"

@keithc-ca
Copy link
Contributor

Please also change "add" back to "readd" (or to "restore") in the commit message and the description above to better reflect what this is about.

@babsingh babsingh force-pushed the support_HotSpotDiagnosticMXBean branch from 99a761d to 67ca28f Compare June 30, 2023 20:28
@babsingh babsingh changed the title Add the OpenJ9DiagnosticsMXBean registration call in ManagementUtils Restore OpenJ9DiagnosticsMXBean registration call in ManagementUtils Jun 30, 2023
@babsingh babsingh force-pushed the support_HotSpotDiagnosticMXBean branch 2 times, most recently from 04cea4e to bd709aa Compare June 30, 2023 20:31
@babsingh
Copy link
Contributor Author

babsingh commented Jun 30, 2023

Added for JDK8 throughout the function, and incorporated restore in the commit message and PR description.

@babsingh babsingh force-pushed the support_HotSpotDiagnosticMXBean branch from bd709aa to 9c27aef Compare June 30, 2023 21:10
The registration call was removed in eclipse-openj9#17709 due to a
false assumption. It has been added back since it is still required.

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
@babsingh babsingh force-pushed the support_HotSpotDiagnosticMXBean branch from 9c27aef to cbb2e93 Compare June 30, 2023 21:13
Copy link
Contributor

@keithc-ca keithc-ca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only comment changes relative to 9a12b8a.

@keithc-ca keithc-ca merged commit 6fb595e into eclipse-openj9:master Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants