Skip to content

Comments

[pull] master from ruby:master#100

Merged
pull[bot] merged 10 commits intoturkdevops:masterfrom
ruby:master
Jul 18, 2025
Merged

[pull] master from ruby:master#100
pull[bot] merged 10 commits intoturkdevops:masterfrom
ruby:master

Conversation

@pull
Copy link

@pull pull bot commented Jul 18, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

jhawthorn and others added 10 commits July 17, 2025 11:50
This issues writebarriers for objects added via gc_offsets or by
profiling. This may be slower than writebarrier_remember, but we would
like it to be more debuggable.

Co-authored-by: Max Bernstein <ruby@bernsteinbear.com>
Co-authored-by: Stan Lo <stan001212@gmail.com>
When a script has problem with the magic comment encoding, we only
display that error.  However, if there are other syntax errors in the
file, the error linked list could contain multiple items.  This lead to
an inconsistency in the "size" field of the linked list, and the actual
items in the linked list.  In other words, the linked list had more than
one item, but the size field was one.

The error display routine would only allocate `size` items, but
iterating the linked list would overrun the array.  This commit changes
the iterator to compare the current node to the "finish" node in the
linked list, no longer assuming the linked list ends with NULL.

[Bug #21461]
[DOC] Make protected documentation more explicit about differences

Protected is a common source of confusion for devs
coming from different languages to Ruby. This
commit makes the documentation more explicit about
the differences, so that the use case for
protected is clearer.
… used

It was failing to set the leads, like numblocks do, causing the result to be wrapped in an array
[ruby-core:121605]
This lets us ZJIT compiled functions show up in the profiles of, say,
perf, or samply.

Fix Shopify#634
Use `fixnum_from_isize` instead of `fixnum_from_usize` in
`fold_fixnum_bop` to properly handle negative values. Casting negative
`i64` to `usize` produces large unsigned values that exceed `RUBY_FIXNUM_MAX`.
@pull pull bot locked and limited conversation to collaborators Jul 18, 2025
@pull pull bot added the ⤵️ pull label Jul 18, 2025
@pull pull bot merged commit 81515ac into turkdevops:master Jul 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants