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

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

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

Conversation

GoeLin
Copy link
Member

@GoeLin GoeLin commented Dec 23, 2024

I backport this for parity with 21.0.7-oracle.

I had to do trivial resolves:

src/hotspot/cpu/riscv/nativeInst_riscv.cpp
The first lock to be changed already uses CodeCache_lock.

src/hotspot/share/runtime/mutexLocker.cpp/hpp
Resolved due to context


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 - Requested)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1284

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 23, 2024

👋 Welcome back goetz! 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 Dec 23, 2024

❗ 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 58d39c317e332fda994f66529fcd1a0ea0e53151 8340313: Crash due to invalid oop in nmethod after C1 patching Dec 23, 2024
@openjdk
Copy link

openjdk bot commented Dec 23, 2024

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 Dec 23, 2024
@mlbridge
Copy link

mlbridge bot commented Dec 23, 2024

Webrevs

@GoeLin
Copy link
Member Author

GoeLin commented Dec 24, 2024

GHA failure: Twice well konwn wget issue, unrelated.

Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

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

LGTM.

@openjdk
Copy link

openjdk bot commented Dec 27, 2024

⚠️ @GoeLin 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.

@openjdk openjdk bot added the approval label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval backport rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

2 participants