Skip to content

ZJIT: Add missing write barrier during profiling #13922

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

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

XrXr
Copy link
Member

@XrXr XrXr commented Jul 16, 2025

Fixes TestZJIT::test_require_rubygems. It was crashing locally due to
false collection of a live object. See
https://alanwu.space/post/write-barrier/.

Fixes `TestZJIT::test_require_rubygems`. It was crashing locally due to
false collection of a live object. See
<https://alanwu.space/post/write-barrier/>.

Co-authored-by: Max Bernstein <max@bernsteinbear.com>
Co-authored-by: Takashi Kokubun <takashi.kokubun@shopify.com>
Co-authored-by: Stan Lo <stan.lo@shopify.com>
@matzbot matzbot requested a review from a team July 16, 2025 22:04
Copy link
Member

@k0kubun k0kubun left a comment

Choose a reason for hiding this comment

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

🙌

Copy link
Contributor

@tekknolagi tekknolagi left a comment

Choose a reason for hiding this comment

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

Great stuff!

@XrXr XrXr enabled auto-merge (rebase) July 16, 2025 22:13
Copy link

Tests Failed

✖️no tests failed ✔️62092 tests passed(1 flake)

@XrXr XrXr disabled auto-merge July 16, 2025 23:13
@XrXr XrXr enabled auto-merge (squash) July 16, 2025 23:13
@XrXr XrXr merged commit 960fae4 into ruby:master Jul 16, 2025
88 of 90 checks passed
@XrXr XrXr deleted the zjit-require-rubygems-crash branch July 16, 2025 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy