Skip to content

8300682: InstanceKlassMiscStatus is a bad name #12106

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

Closed
wants to merge 2 commits into from

Conversation

coleenp
Copy link
Contributor

@coleenp coleenp commented Jan 19, 2023

This patch is to simply rename InstanceKlassMiscStatus to InstanceKlassFlags. This matches the naming for upcoming Field changes that add a FieldFlags class.
Tested with tier1-4.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 12106

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

Using diff file

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

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 19, 2023

👋 Welcome back coleenp! 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 openjdk bot added the rfr Pull request is ready for review label Jan 19, 2023
@openjdk
Copy link

openjdk bot commented Jan 19, 2023

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

  • hotspot

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.

@openjdk openjdk bot added the hotspot hotspot-dev@openjdk.org label Jan 19, 2023
Copy link
Contributor

@fparain fparain left a comment

Choose a reason for hiding this comment

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

LGTM, just minor nits in instanceKlassFlags.hpp.

@mlbridge
Copy link

mlbridge bot commented Jan 19, 2023

Webrevs

Copy link
Contributor

@fparain fparain left a comment

Choose a reason for hiding this comment

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

LGTM, just minor nits in instanceKlassFlags.hpp.

@@ -27,7 +27,7 @@

class ClassLoaderData;

class InstanceKlassMiscStatus {
class InstanceKlassFlags {
Copy link
Contributor

Choose a reason for hiding this comment

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

The macro to prevent multiple inclusions should have the same name as the file after the renaming.
Should we add a comment stating that "Flags" are immutable, and mutable status should be put elsewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh whoops. Thank you for noticing that.

Copy link
Contributor Author

@coleenp coleenp Jan 19, 2023

Choose a reason for hiding this comment

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

I was going to put this comment when adding the mutable status class, in a following change.

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.

Seems fine. Thanks.

@openjdk
Copy link

openjdk bot commented Jan 20, 2023

@coleenp This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8300682: InstanceKlassMiscStatus is a bad name

Reviewed-by: fparain, dholmes

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 11 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Jan 20, 2023
@coleenp
Copy link
Contributor Author

coleenp commented Jan 20, 2023

Thanks Fred and David.
/integrate

@openjdk
Copy link

openjdk bot commented Jan 20, 2023

Going to push as commit 4562b40.
Since your change was applied there have been 15 commits pushed to the master branch:

  • 26410c1: 8281213: Unsafe uses of long and size_t in MemReporterBase::diff_in_current_scale
  • eca6479: 8300087: Replace NULL with nullptr in share/cds/
  • 49d60fe: 8300172: java/net/httpclient/MappingResponseSubscriber.java failed with java.net.ConnectException
  • e189397: 8296403: [TESTBUG] IR test runner methods in TestLongRangeChecks.java invoke wrong test methods
  • 77f2d20: 8287873: Add test for using -XX:+AutoCreateSharedArchive with different JDK versions
  • 93a933d: 8300400: Update --release 20 symbol information for JDK 20 build 32
  • 9b97699: 8300586: Refactor code examples to use @snippet in java.text.Collator
  • fbbb27e: 8300356: Refactor code examples to use @snippet in java.text.CollationElementIterator
  • dfcd65c: Merge
  • 1c84050: 8298400: Virtual thread instability when stack overflows
  • ... and 5 more: https://git.openjdk.org/jdk/compare/d85243f02b34d03bd7af63a5bcbc73f500f720df...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jan 20, 2023
@openjdk openjdk bot closed this Jan 20, 2023
@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Jan 20, 2023
@coleenp coleenp deleted the no-misc branch January 20, 2023 13:21
@openjdk openjdk bot removed the rfr Pull request is ready for review label Jan 20, 2023
@openjdk
Copy link

openjdk bot commented Jan 20, 2023

@coleenp Pushed as commit 4562b40.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot hotspot-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants