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

8348829: Remove ObjectMonitor perf counters #23326

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shipilev
Copy link
Member

@shipilev shipilev commented Jan 28, 2025

See bug for more discussion. I believe these counters are useless and come with more trouble than their worth.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Change requires CSR request JDK-8348833 to be approved
  • Commit message must refer to an issue

Issues

  • JDK-8348829: Remove ObjectMonitor perf counters (Enhancement - P4)
  • JDK-8348833: Remove ObjectMonitor perf counters (CSR)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/23326/head:pull/23326
$ git checkout pull/23326

Update a local copy of the PR:
$ git checkout pull/23326
$ git pull https://git.openjdk.org/jdk.git pull/23326/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 23326

View PR using the GUI difftool:
$ git pr show -t 23326

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/23326.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 28, 2025

👋 Welcome back shade! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Jan 28, 2025

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk
Copy link

openjdk bot commented Jan 28, 2025

@shipilev The following label will be automatically applied to this pull request:

  • hotspot-runtime

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@shipilev
Copy link
Member Author

/csr needed

@openjdk openjdk bot added the csr Pull request needs approved CSR before integration label Jan 28, 2025
@openjdk
Copy link

openjdk bot commented Jan 28, 2025

@shipilev an approved CSR request is already required for this pull request.

@shipilev shipilev marked this pull request as ready for review January 28, 2025 10:29
@openjdk openjdk bot added the rfr Pull request is ready for review label Jan 28, 2025
@mlbridge
Copy link

mlbridge bot commented Jan 28, 2025

Webrevs

Copy link
Member

@dholmes-ora dholmes-ora left a comment

Choose a reason for hiding this comment

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

Assuming CSR request confirms desirability of deleting these perf counters, the actual deletion seems good. Thanks

@openjdk
Copy link

openjdk bot commented Feb 3, 2025

@shipilev this pull request can not be integrated into master due to one or more merge conflicts. To resolve these merge conflicts and update this pull request you can run the following commands in the local repository for your personal fork:

git checkout JDK-8348829-remove-om-counters
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push

@openjdk openjdk bot added the merge-conflict Pull request has merge conflict with target branch label Feb 3, 2025
@bridgekeeper
Copy link

bridgekeeper bot commented Feb 27, 2025

@shipilev This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@openjdk openjdk bot removed the merge-conflict Pull request has merge conflict with target branch label Mar 3, 2025
Copy link
Contributor

@coleenp coleenp left a comment

Choose a reason for hiding this comment

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

Looks good. You might need a remerge after PR #23421 once the CSR is approved.

@shipilev
Copy link
Member Author

shipilev commented Mar 4, 2025

Thanks! I looked deeper what JFR events are available to capture what where these counters help, and I think we want a few new ones (see linked issues). Adding these new JFR events would require code changes in the vicinity of this PR, so I would have to re-merge anyway. Until those events land, this PR is on hold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
csr Pull request needs approved CSR before integration hotspot-runtime [email protected] rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

3 participants