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

8340313: Crash due to invalid oop in nmethod after C1 patching #189

Conversation

TobiHartmann
Copy link
Member

@TobiHartmann TobiHartmann commented Oct 17, 2024

Hi all,

This pull request contains a backport of commit 58d39c31 from the openjdk/jdk repository.

The change did not apply cleanly due to differences in src/hotspot/cpu/riscv/nativeInst_riscv.cpp.

The commit being backported was authored by Tobias Hartmann on 17 Oct 2024 and was reviewed by Thomas Schatzl, Vladimir Kozlov and Dean Long.

Thanks!


Progress

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

Issue

  • JDK-8340313: Crash due to invalid oop in nmethod after C1 patching (Bug - P2 - Approved)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 189

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

Using diff file

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

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 17, 2024

👋 Welcome back thartmann! 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 Oct 17, 2024

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

8340313: Crash due to invalid oop in nmethod after C1 patching

Reviewed-by: chagedorn

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

  • 73b2341: 8339637: (tz) Update Timezone Data to 2024b
  • dc5298e: 8342145: File libCreationTimeHelper.c compile fails on Alpine
  • 14aedb5: 8333391: Test com/sun/jdi/InterruptHangTest.java failed: Thread was never interrupted during sleep
  • 9ed9510: 8331391: Enhance the keytool code by invoking the buildTrustedCerts method for essential options
  • 858118e: 8335267: [XWayland] move screencast tokens from .awt to .java folder
  • 6317a5a: 8338109: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java duplicate in ProblemList
  • 9b56b71: 8337320: Update ProblemList.txt with tests known to fail on XWayland
  • f3be592: 8336413: gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
  • daa67f4: 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
  • 16f279c: 8336914: Shenandoah: Missing verification steps after JDK-8255765
  • ... and 6 more: https://git.openjdk.org/jdk23u/compare/56fcf0b1d48069dcc16398349f23d8c258894b99...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 changed the title Backport 58d39c317e332fda994f66529fcd1a0ea0e53151 8340313: Crash due to invalid oop in nmethod after C1 patching Oct 17, 2024
@openjdk
Copy link

openjdk bot commented Oct 17, 2024

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

@openjdk openjdk bot added backport approval rfr Pull request is ready for review labels Oct 17, 2024
@mlbridge
Copy link

mlbridge bot commented Oct 17, 2024

Webrevs

Copy link
Member

@chhagedorn chhagedorn left a comment

Choose a reason for hiding this comment

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

Looks good!

@TobiHartmann
Copy link
Member Author

Thanks Christian!

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval labels Oct 22, 2024
@TobiHartmann
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Oct 22, 2024

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

  • 73b2341: 8339637: (tz) Update Timezone Data to 2024b
  • dc5298e: 8342145: File libCreationTimeHelper.c compile fails on Alpine
  • 14aedb5: 8333391: Test com/sun/jdi/InterruptHangTest.java failed: Thread was never interrupted during sleep
  • 9ed9510: 8331391: Enhance the keytool code by invoking the buildTrustedCerts method for essential options
  • 858118e: 8335267: [XWayland] move screencast tokens from .awt to .java folder
  • 6317a5a: 8338109: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java duplicate in ProblemList
  • 9b56b71: 8337320: Update ProblemList.txt with tests known to fail on XWayland
  • f3be592: 8336413: gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
  • daa67f4: 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
  • 16f279c: 8336914: Shenandoah: Missing verification steps after JDK-8255765
  • ... and 6 more: https://git.openjdk.org/jdk23u/compare/56fcf0b1d48069dcc16398349f23d8c258894b99...master

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Oct 22, 2024

@TobiHartmann Pushed as commit c644570.

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

2 participants