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

JDK-8297309: Memory leak in ShenandoahFullGC #11255

Closed
wants to merge 1 commit into from

Conversation

jcking
Copy link
Contributor

@jcking jcking commented Nov 21, 2022

Signed-off-by: Justin King jcking@google.com


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/11255/head:pull/11255
$ git checkout pull/11255

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 11255

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

Using diff file

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

Signed-off-by: Justin King <jcking@google.com>
@bridgekeeper
Copy link

bridgekeeper bot commented Nov 21, 2022

👋 Welcome back jcking! 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.

@jcking jcking changed the title Fix memory leak in ShenandoahFullGC JDK-8297309: Memory leak in ShenandoahFullGC Nov 21, 2022
@jcking jcking marked this pull request as ready for review November 21, 2022 04:29
@openjdk
Copy link

openjdk bot commented Nov 21, 2022

@jcking The following labels will be automatically applied to this pull request:

  • hotspot-gc
  • shenandoah

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

@openjdk openjdk bot added hotspot-gc hotspot-gc-dev@openjdk.org shenandoah shenandoah-dev@openjdk.org rfr Pull request is ready for review labels Nov 21, 2022
@mlbridge
Copy link

mlbridge bot commented Nov 21, 2022

Webrevs

Copy link
Contributor

@rkennke rkennke left a comment

Choose a reason for hiding this comment

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

Ouch. Good catch. Patch looks good, thank you!

@openjdk
Copy link

openjdk bot commented Nov 21, 2022

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

8297309: Memory leak in ShenandoahFullGC

Reviewed-by: rkennke, shade

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

  • 2f83b5c: 8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names
  • 50f9043: 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread
  • 99d3840: 8297359: RISC-V: improve performance of floating Max Min intrinsics
  • 6c05771: 8295447: NullPointerException with invalid pattern matching construct in constructor call
  • 76a24c3: 8297145: Add a @sealedGraph tag to ConstantDesc
  • 099b42f: 8297148: Add a @sealedGraph tag to CallSite
  • 85ddd8f: 8295253: Remove kludge from v1_0/PerfDataBuffer.java
  • 952e100: 8297431: [JVMCI] HotSpotJVMCIRuntime.encodeThrowable should not throw an exception
  • 08e6a82: 8297590: [TESTBUG] HotSpotResolvedJavaFieldTest does not run
  • 4f65570: 8294583: JShell: NPE in switch with non existing record pattern
  • ... and 78 more: https://git.openjdk.org/jdk/compare/544e31722528d12fae0eb19271f85886680801a6...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.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@rkennke, @shipilev) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Nov 21, 2022
Copy link
Member

@shipilev shipilev left a comment

Choose a reason for hiding this comment

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

I thought ShenandoahFullGC is eternal, but apparently we create it as scoped object every time we need to go for Full GC. Oof.

Looks good!

@jcking
Copy link
Contributor Author

jcking commented Nov 28, 2022

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Nov 28, 2022
@openjdk
Copy link

openjdk bot commented Nov 28, 2022

@jcking
Your change (at version 5234878) is now ready to be sponsored by a Committer.

@shipilev
Copy link
Member

/integrate

@openjdk
Copy link

openjdk bot commented Nov 28, 2022

@shipilev Only the author (@jcking) is allowed to issue the integrate command. As this pull request is ready to be sponsored, and you are an eligible sponsor, did you mean to issue the /sponsor command?

@shipilev
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Nov 28, 2022

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

  • 81eb5fb: 8297534: Specify the size of MEMFLAGS
  • 012dafe: 8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list
  • 43d1173: 8286302: Port JEP 425 to PPC64
  • d610211: 8297408: Consolidate code in runtime/ErrorHandling
  • 2f83b5c: 8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names
  • 50f9043: 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread
  • 99d3840: 8297359: RISC-V: improve performance of floating Max Min intrinsics
  • 6c05771: 8295447: NullPointerException with invalid pattern matching construct in constructor call
  • 76a24c3: 8297145: Add a @sealedGraph tag to ConstantDesc
  • 099b42f: 8297148: Add a @sealedGraph tag to CallSite
  • ... and 82 more: https://git.openjdk.org/jdk/compare/544e31722528d12fae0eb19271f85886680801a6...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Nov 28, 2022
@openjdk openjdk bot closed this Nov 28, 2022
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Nov 28, 2022
@openjdk
Copy link

openjdk bot commented Nov 28, 2022

@shipilev @jcking Pushed as commit b80f5af.

💡 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-gc hotspot-gc-dev@openjdk.org integrated Pull request has been integrated shenandoah shenandoah-dev@openjdk.org
3 participants