Skip to content

8285794: AsyncGetCallTrace might acquire a lock via JavaThread::thread_from_jni_environment #725

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

Conversation

parttimenerd
Copy link
Contributor

@parttimenerd parttimenerd commented Sep 23, 2022

Fixes the minor possibility of ASGCT acquiring a lock.

Tested using my jdk profiling tester.


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

  • JDK-8285794: AsyncGetCallTrace might acquire a lock via JavaThread::thread_from_jni_environment

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 725

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

Using diff file

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

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 23, 2022

👋 Welcome back parttimenerd! 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 openjdk bot changed the title Backport d4474b5816c2ec8daaf1c905b77d8ba4e23c9439 8285794: AsyncGetCallTrace might acquire a lock via JavaThread::thread_from_jni_environment Sep 23, 2022
@openjdk
Copy link

openjdk bot commented Sep 23, 2022

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 Sep 23, 2022
@mlbridge
Copy link

mlbridge bot commented Sep 30, 2022

Webrevs

@GoeLin
Copy link
Member

GoeLin commented Oct 5, 2022

Hi, please add the label again once this is reviewed. Thanks.

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 2, 2022

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

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 Nov 11, 2022

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

8285794: AsyncGetCallTrace might acquire a lock via JavaThread::thread_from_jni_environment

Reviewed-by: mdoerr

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

  • 3486bb2: 8295872: [PPC64] JfrGetCallTrace: Need pc == nullptr check before frame constructor
  • 7d17479: 8296480: java/security/cert/pkix/policyChanges/TestPolicy.java is failing
  • b5710c4: 8296108: (tz) Update Timezone Data to 2022f
  • f29ade7: 8286872: Refactor add/modify notification icon (TrayIcon)
  • cd4cc5d: 8255439: System Tray icons get corrupted when Windows scaling changes
  • 3d18b23: 8202836: [macosx] test java/awt/Graphics/TextAAHintsTest.java fails
  • 386f714: 8274029: Remove jtreg tag manual=yesno for java/awt/print/Dialog/DialogOrient.java
  • 574d72f: 8274456: Remove jtreg tag manual=yesno java/awt/print/PrinterJob/PageDialogTest.java
  • b7a0a0a: 8273108: RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276
  • 193ccc4: 8274527: Minimal VM build fails after JDK-8273459
  • ... and 405 more: https://git.openjdk.org/jdk17u-dev/compare/19639855311a47ed532547743ea3873eb8b016d3...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 (@TheRealMDoerr) 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 11, 2022
@parttimenerd
Copy link
Contributor Author

/integrate

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

openjdk bot commented Nov 14, 2022

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

@TheRealMDoerr
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented Nov 14, 2022

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

  • 3486bb2: 8295872: [PPC64] JfrGetCallTrace: Need pc == nullptr check before frame constructor
  • 7d17479: 8296480: java/security/cert/pkix/policyChanges/TestPolicy.java is failing
  • b5710c4: 8296108: (tz) Update Timezone Data to 2022f
  • f29ade7: 8286872: Refactor add/modify notification icon (TrayIcon)
  • cd4cc5d: 8255439: System Tray icons get corrupted when Windows scaling changes
  • 3d18b23: 8202836: [macosx] test java/awt/Graphics/TextAAHintsTest.java fails
  • 386f714: 8274029: Remove jtreg tag manual=yesno for java/awt/print/Dialog/DialogOrient.java
  • 574d72f: 8274456: Remove jtreg tag manual=yesno java/awt/print/PrinterJob/PageDialogTest.java
  • b7a0a0a: 8273108: RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276
  • 193ccc4: 8274527: Minimal VM build fails after JDK-8273459
  • ... and 405 more: https://git.openjdk.org/jdk17u-dev/compare/19639855311a47ed532547743ea3873eb8b016d3...master

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Nov 14, 2022

@TheRealMDoerr @parttimenerd Pushed as commit 175bd05.

💡 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
backport integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants