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

8318585: Rename CodeCache::UnloadingScope to UnlinkingScope #16283

Conversation

tschatzl
Copy link
Contributor

@tschatzl tschatzl commented Oct 20, 2023

Hi all,

please review this renaming of CodeCache::UnloadingScope to UnlinkingScope.

The idea is that this scope object does not cover whole the whole unloading process, but only the unlinking part. (Where Unloading = Unlinking + Purging. Note that the current class/code unloading code isn't very consistent about naming but cleanup has to start somewhere).

There is more discussion in #16011.

Testing: GHA

Thanks,
Thomas


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

  • JDK-8318585: Rename CodeCache::UnloadingScope to UnlinkingScope (Enhancement - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 16283

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

Using diff file

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

Webrev

Link to Webrev Comment

@tschatzl
Copy link
Contributor Author

/label add hotspot-gc

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 20, 2023

👋 Welcome back tschatzl! 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 changed the title 8318585 8318585: Rename CodeCache::UnloadingScope to UnlinkingScope Oct 20, 2023
@openjdk openjdk bot added the hotspot-gc hotspot-gc-dev@openjdk.org label Oct 20, 2023
@openjdk
Copy link

openjdk bot commented Oct 20, 2023

@tschatzl
The hotspot-gc label was successfully added.

@tschatzl tschatzl marked this pull request as ready for review October 20, 2023 09:49
@openjdk openjdk bot added the rfr Pull request is ready for review label Oct 20, 2023
@mlbridge
Copy link

mlbridge bot commented Oct 20, 2023

Webrevs

@openjdk
Copy link

openjdk bot commented Oct 20, 2023

@tschatzl 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:

8318585: Rename CodeCache::UnloadingScope to UnlinkingScope

Reviewed-by: ayang, iwalulya, mli

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 32 new commits pushed to the master branch:

  • a876beb: 8316741: BasicStroke.createStrokedShape miter-limits failing on small shapes
  • 4cf195f: 8318573: The nsk.share.jpda.SocketConnection should fail if socket was closed.
  • af2f4bf: 8318622: ProblemList gc/cslocker/TestCSLocker.java on linux-x64 in Xcomp mode
  • a1a62d9: 8306308: (ch) Writer created by Channels::newWriter may lose data
  • 77b2394: 8318482: problemlist compiler/codecache/CheckLargePages.java on Linux-x64 until JDK-8317831 is fixed
  • d3ebb4a: 8317373: Add Telia Root CA v2
  • 66d90d5: 8318107: Un-ProblemList LocaleProvidersRun and CalendarDataRegression
  • 4dfa379: 7061097: [Doc] Inconsistenency between the spec and the implementation for DateFormat.Field
  • 158293d: 8316030: Update Libpng to 1.6.40
  • a045258: 8209595: MonitorVmStartTerminate.java timed out
  • ... and 22 more: https://git.openjdk.org/jdk/compare/bd02cfd96f80abd1559ea3531a21c28c1f670f5d...master

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 Oct 20, 2023
Copy link

@Hamlin-Li Hamlin-Li left a comment

Choose a reason for hiding this comment

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

LGTM.

@tschatzl
Copy link
Contributor Author

Thanks @albertnetymk @walulyai @Hamlin-Li for you reviews.

/integrate

@openjdk
Copy link

openjdk bot commented Oct 23, 2023

Going to push as commit 4eab39d.
Since your change was applied there have been 34 commits pushed to the master branch:

  • ffadd63: 8317868: Add @sealedGraph to MethodHandleDesc and descendants
  • ecd25e7: 8318484: Initial version of cdsConfig.hpp
  • a876beb: 8316741: BasicStroke.createStrokedShape miter-limits failing on small shapes
  • 4cf195f: 8318573: The nsk.share.jpda.SocketConnection should fail if socket was closed.
  • af2f4bf: 8318622: ProblemList gc/cslocker/TestCSLocker.java on linux-x64 in Xcomp mode
  • a1a62d9: 8306308: (ch) Writer created by Channels::newWriter may lose data
  • 77b2394: 8318482: problemlist compiler/codecache/CheckLargePages.java on Linux-x64 until JDK-8317831 is fixed
  • d3ebb4a: 8317373: Add Telia Root CA v2
  • 66d90d5: 8318107: Un-ProblemList LocaleProvidersRun and CalendarDataRegression
  • 4dfa379: 7061097: [Doc] Inconsistenency between the spec and the implementation for DateFormat.Field
  • ... and 24 more: https://git.openjdk.org/jdk/compare/bd02cfd96f80abd1559ea3531a21c28c1f670f5d...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Oct 23, 2023
@openjdk openjdk bot closed this Oct 23, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Oct 23, 2023
@openjdk
Copy link

openjdk bot commented Oct 23, 2023

@tschatzl Pushed as commit 4eab39d.

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

@tschatzl tschatzl deleted the submit/8318585-unloadingscope-to-unlinkingscope branch October 24, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot-gc hotspot-gc-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

4 participants