Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

8191278: MappedByteBuffer bulk access memory failures are not handled gracefully #240

Closed
wants to merge 1 commit into from
Closed

Conversation

snazarkin
Copy link
Contributor

@snazarkin snazarkin commented Jul 28, 2021

I'd like to backport this changes to fix crash happens on memory mapped file operations. The patch applies cleanly.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8191278: MappedByteBuffer bulk access memory failures are not handled gracefully

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk13u-dev pull/240/head:pull/240
$ git checkout pull/240

Update a local copy of the PR:
$ git checkout pull/240
$ git pull https://git.openjdk.java.net/jdk13u-dev pull/240/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 240

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jdk13u-dev/pull/240.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Jul 28, 2021

👋 Welcome back snazarki! 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 aedbb7580334cb9131f547845f9b7aa3916ddf4b 8191278: MappedByteBuffer bulk access memory failures are not handled gracefully Jul 28, 2021
@openjdk
Copy link

openjdk bot commented Jul 28, 2021

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

@openjdk
Copy link

openjdk bot commented Jul 28, 2021

@snazarkin This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8191278: MappedByteBuffer bulk access memory failures are not handled gracefully

Unsafe.copy*Memory access failures are handled gracefully.

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

  • 0cac580: 8258373: Update the text handling in the JPasswordField
  • 6dd4098: 8257620: Do not use objc_msgSend_stret to get macOS version

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
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.

➡️ 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 ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jul 28, 2021
@mlbridge
Copy link

mlbridge bot commented Jul 28, 2021

Webrevs

@snazarkin
Copy link
Contributor Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Jul 29, 2021
@openjdk
Copy link

openjdk bot commented Jul 29, 2021

@snazarkin
Your change (at version 773cbd7) is now ready to be sponsored by a Committer.

@yan-too
Copy link
Collaborator

yan-too commented Jul 29, 2021

/sponsor

@openjdk
Copy link

openjdk bot commented Jul 29, 2021

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

  • 0cac580: 8258373: Update the text handling in the JPasswordField
  • 6dd4098: 8257620: Do not use objc_msgSend_stret to get macOS version

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot closed this Jul 29, 2021
@openjdk openjdk bot added integrated Pull request has been integrated and 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 Jul 29, 2021
@openjdk
Copy link

openjdk bot commented Jul 29, 2021

@yan-too @snazarkin Pushed as commit 40ab2a0.

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

@snazarkin snazarkin deleted the backport-8191278 branch August 3, 2021 08:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport clean integrated Pull request has been integrated
2 participants