Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
/ jdk23u Public archive

8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

earthling-amzn
Copy link
Contributor

@earthling-amzn earthling-amzn commented Jan 21, 2025

This was not a clean backport, the conflicts were trivial to resolve. This addresses a fairly critical issue where in a mistimed heap dump may cause heap corruption or vm crashes for Shenandoah GC.


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
  • JDK-8345750 needs maintainer approval

Issue

  • JDK-8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause (Bug - P3 - Requested)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 237

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk23u/pull/237.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 21, 2025

👋 Welcome back wkemper! 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 21, 2025

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

@openjdk openjdk bot changed the title Backport 6a29a8110ec38b4adc8163ba8651cbc935353f1d 8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause Jan 21, 2025
@openjdk
Copy link

openjdk bot commented Jan 21, 2025

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport rfr Pull request is ready for review labels Jan 21, 2025
@mlbridge
Copy link

mlbridge bot commented Jan 21, 2025

Webrevs

@phohensee
Copy link
Member

jdk23u-dev?

@earthling-amzn
Copy link
Contributor Author

/approval request This fixes an issue in which an ill-timed heap dump for Shenandoah could cause a crash or heap corruption. The fault was uncovered by running the TestJcmdHeapDump test repeatedly and the fix has been verified by the same. Shenandoah now follows the pattern established by ZGC for handling heap dump/inspection requests.

@openjdk
Copy link

openjdk bot commented Jan 21, 2025

@earthling-amzn
8345750: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Jan 21, 2025
Copy link
Member

@ysramakrishna ysramakrishna left a comment

Choose a reason for hiding this comment

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

🚢

@ysramakrishna
Copy link
Member

macos builds seem to be failing because of what appears to be an infra issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approval backport rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

3 participants