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

8320275: assert(_chunk->bitmap().at(index)) failed: Bit not set at index #131

Closed
wants to merge 3 commits into from

Conversation

shipilev
Copy link
Member

@shipilev shipilev commented Jan 4, 2024

Nearly clean backport to fix a Loom bug. The uncleanliness is due to foreign_globals.cpp context change in ForeignGlobals::java_calling_convention, which renamed the argument. I reapplied that hunk by hand.

Additional testing:

  • macos-aarch64-server-fastdebug, jdk_loom hotspot_loom
  • linux-aarch64-server-fastdebug, tier{1,2,3,4}
  • linux-x86_64-server-fastdebug, tier{1,2,3,4}

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
  • JDK-8323595 needs maintainer approval
  • JDK-8320275 needs maintainer approval

Issues

  • JDK-8320275: assert(_chunk->bitmap().at(index)) failed: Bit not set at index (Bug - P3 - Approved)
  • JDK-8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs (Bug - P3 - Approved)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 131

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

Using diff file

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

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 4, 2024

👋 Welcome back shade! 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 e9e694f4ef7b080d7fe1ad5b2f2daa2fccd0456e 8320275: assert(_chunk->bitmap().at(index)) failed: Bit not set at index Jan 4, 2024
@openjdk
Copy link

openjdk bot commented Jan 4, 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 Jan 4, 2024
@mlbridge
Copy link

mlbridge bot commented Jan 4, 2024

Webrevs

@openjdk
Copy link

openjdk bot commented Jan 11, 2024

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

@shipilev
Copy link
Member Author

/approval request Nearly clean backport to fix a Loom bug. The uncleanliness is due to foreign_globals.cpp context change in ForeignGlobals::java_calling_convention, which renamed the argument. I reapplied that hunk by hand. Tests pass. The patch is a bit risky, because it touches calling conventions.

@openjdk
Copy link

openjdk bot commented Jan 12, 2024

@shipilev
8320275: The approval request has been created successfully.

@openjdk openjdk bot added approval and removed approval labels Jan 12, 2024
@shipilev
Copy link
Member Author

shipilev commented Feb 8, 2024

/issue add JDK-8323595

@openjdk
Copy link

openjdk bot commented Feb 8, 2024

@shipilev
Adding additional issue to issue list: 8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs.

@shipilev shipilev force-pushed the JDK-8320275-loom-cc branch from 3ae148c to f468bff Compare February 27, 2024 14:19
@openjdk
Copy link

openjdk bot commented Feb 27, 2024

@shipilev Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@shipilev
Copy link
Member Author

/approval 8320275 request (Resubmitting for 21.0.4) Nearly clean backport to fix a Loom bug. The uncleanliness is due to foreign_globals.cpp context change in ForeignGlobals::java_calling_convention, which renamed the argument. I reapplied that hunk by hand. Tests pass. The patch is a bit risky, because it touches calling conventions. There was no product bugtail after >6 weeks in mainline, including JDK 22 EA testing.

/approval 8323595 request Follow-up for JDK-8320275, fixes the incorrect assert.

@openjdk
Copy link

openjdk bot commented Feb 27, 2024

@shipilev
8320275: The approval request has been updated successfully.

@openjdk
Copy link

openjdk bot commented Feb 27, 2024

@shipilev
8323595: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Feb 27, 2024
@openjdk
Copy link

openjdk bot commented Feb 27, 2024

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

8320275: assert(_chunk->bitmap().at(index)) failed: Bit not set at index
8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs

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 no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential 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 added ready Pull request is ready to be integrated and removed approval labels Feb 27, 2024
@shipilev
Copy link
Member Author

Re-tested all on Linux aarch64, still fully passes.

/integrate

@openjdk
Copy link

openjdk bot commented Feb 28, 2024

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

  • 8ac4313: 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
  • dc8759c: 8316053: Open some swing tests 3
  • ef13a82: 8324817: Parallel GC does not pre-touch all heap pages when AlwaysPreTouch enabled and large page disabled

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Feb 28, 2024

@shipilev Pushed as commit 677556d.

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

@shipilev shipilev deleted the JDK-8320275-loom-cc branch April 24, 2024 09:57
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.

2 participants