Skip to content

8335536: Fix assertion failure in IdealGraphPrinter when append is true #2657

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 1 commit into from

Conversation

MaxXSoft
Copy link
Member

@MaxXSoft MaxXSoft commented Jul 4, 2024

Hi all,

This pull request contains a backport of commit 6db4c6a7 from the openjdk/jdk repository.

The commit being backported was authored by Qizheng Xing on 3 Jul 2024 and was reviewed by Tobias Hartmann, Christian Hagedorn and Tobias Holenstein.

The original patch does not apply cleanly to 17u due to some merge conflicts about creating xmlStream with placement new expressions.

Thanks!


Progress

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

Issue

  • JDK-8335536: Fix assertion failure in IdealGraphPrinter when append is true (Bug - P5 - Approved)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2657/head:pull/2657
$ git checkout pull/2657

Update a local copy of the PR:
$ git checkout pull/2657
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2657/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2657

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2657.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jul 4, 2024

👋 Welcome back qxing! 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 Jul 4, 2024

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

8335536: Fix assertion failure in IdealGraphPrinter when append is true

Reviewed-by: phh

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

  • 37726c5: 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
  • 66fa756: 8317112: Add screenshot for Frame/DefaultSizeTest.java
  • 7f8fdbd: 8335967: "text-decoration: none" does not work with "A" HTML tags
  • 9ca6608: 8327312: [17u] Problem list ReflectionCallerCacheTest.java due to 8324978
  • 8f32625: 8333270: HandlersOnComplexResetUpdate and HandlersOnComplexUpdate tests fail with "Unexpected reference" if timeoutFactor is less than 1/3
  • 4d03e9d: 8331605: jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java test failure
  • a76c3af: 8317343: GC: Make TestHeapFreeRatio use createTestJvm
  • 8bb51e5: 8317635: Improve GetClassFields test to verify correctness of field order
  • 1000028: 8292044: HttpClient doesn't handle 102 or 103 properly
  • 2ec8717: 8334482: Shenandoah: Deadlock when safepoint is pending during nmethods iteration
  • ... and 121 more: https://git.openjdk.org/jdk17u-dev/compare/379a14bb49f9445d384c9fa5f8e4804804a7ee22...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 (@phohensee) 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 changed the title Backport 6db4c6a772df856fc3099c32a5b2c102a30d360c 8335536: Fix assertion failure in IdealGraphPrinter when append is true Jul 4, 2024
@openjdk
Copy link

openjdk bot commented Jul 4, 2024

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

@openjdk openjdk bot added backport Port of a pull request already in a different code base rfr Pull request is ready for review labels Jul 4, 2024
@mlbridge
Copy link

mlbridge bot commented Jul 4, 2024

Webrevs

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 1, 2024

@MaxXSoft 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!

@MaxXSoft
Copy link
Member Author

MaxXSoft commented Aug 1, 2024

Hi all,

This backport fixes some assertion failures in IdealGraphPrinter when debugging on ideal graph, which is low risk.

Could someone please review this PR?

Thanks!

@phohensee
Copy link
Member

Please configure pre-submit testing on this repo.

@openjdk
Copy link

openjdk bot commented Aug 1, 2024

⚠️ @MaxXSoft This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@MaxXSoft
Copy link
Member Author

MaxXSoft commented Aug 2, 2024

@phohensee Thanks for the review! I have enabled testing in my repository.

@MaxXSoft
Copy link
Member Author

MaxXSoft commented Aug 2, 2024

/approval request Backporting this patch fixes assertion failures when debugging on ideal graph. Risk is low. The original patch does not apply cleanly to 17u due to some merge conflicts about creating xmlStream with placement new expressions.

@openjdk
Copy link

openjdk bot commented Aug 2, 2024

@MaxXSoft
8335536: The approval request has been created successfully.

@openjdk openjdk bot added approval Requires approval; will be removed when approval is received ready Pull request is ready to be integrated and removed approval Requires approval; will be removed when approval is received labels Aug 2, 2024
@MaxXSoft
Copy link
Member Author

MaxXSoft commented Aug 6, 2024

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Aug 6, 2024
@openjdk
Copy link

openjdk bot commented Aug 6, 2024

@MaxXSoft
Your change (at version 6a4a350) is now ready to be sponsored by a Committer.

@phohensee
Copy link
Member

/sponsor

Presubmit testing for macos seems to be hung.

@openjdk
Copy link

openjdk bot commented Aug 6, 2024

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

  • 1f14f86: 8306929: Avoid CleanClassLoaderDataMetaspaces safepoints when previous versions are shared
  • 37726c5: 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
  • 66fa756: 8317112: Add screenshot for Frame/DefaultSizeTest.java
  • 7f8fdbd: 8335967: "text-decoration: none" does not work with "A" HTML tags
  • 9ca6608: 8327312: [17u] Problem list ReflectionCallerCacheTest.java due to 8324978
  • 8f32625: 8333270: HandlersOnComplexResetUpdate and HandlersOnComplexUpdate tests fail with "Unexpected reference" if timeoutFactor is less than 1/3
  • 4d03e9d: 8331605: jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java test failure
  • a76c3af: 8317343: GC: Make TestHeapFreeRatio use createTestJvm
  • 8bb51e5: 8317635: Improve GetClassFields test to verify correctness of field order
  • 1000028: 8292044: HttpClient doesn't handle 102 or 103 properly
  • ... and 122 more: https://git.openjdk.org/jdk17u-dev/compare/379a14bb49f9445d384c9fa5f8e4804804a7ee22...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Aug 6, 2024
@openjdk openjdk bot closed this Aug 6, 2024
@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 Aug 6, 2024
@openjdk
Copy link

openjdk bot commented Aug 6, 2024

@phohensee @MaxXSoft Pushed as commit ae7be19.

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

@MaxXSoft MaxXSoft deleted the backport-8335536 branch August 7, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Port of a pull request already in a different code base integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

2 participants