Skip to content

[pull] master from ruby:master - #1405

Merged
pull[bot] merged 5 commits into
turkdevops:masterfrom
ruby:master
Sep 13, 2026
Merged

[pull] master from ruby:master#1405
pull[bot] merged 5 commits into
turkdevops:masterfrom
ruby:master

Conversation

@pull

@pull pull Bot commented Sep 13, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


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

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

byroot and others added 5 commits September 13, 2026 08:05
…match

Now the caller is responsible for consuming the match using `consume_match`,
which means the undefined behavior `matches_bitmap >>= 64` is no longer
a concern, eliminating a condition.

ruby/erb@40a8edea18
(ruby/prism#4220)

Sort of a followup for ruby/prism@929aec1

It changed the value for `:''` into nil/null, which is a bit inconvenient.
For syntax-valid code I expect it to always be present.

It's also inconsistent with `StringNode`. In effect,
this reverts the snapshots changes and the two changes
in ruby for the ripper/parser compiler.

ruby/prism@531cd5e557
similar
(ruby/prism#4226)

This tries to coerce with `to_path` and then `to_str`  if it isn't a string already.
I had a `Pathname` from some other source and was sad I couldn't simply pass it along

ruby/prism@4651adbaeb
TracePoints that are enabled but never disabled in a Ractor leak memory.
For example, the following script leaks memory:

    10.times do
      1_000.times do
        Ractor.new {
          200.times { TracePoint.new(:call) { }.enable }
        }.value
        GC.start
      end

      puts `ps -o rss= -p #{$$}`
    end

Before:

    32180
    47868
    63492
    79116
    94744
    110368
    125992
    141616
    157244
    172868

After:

    16428
    16492
    16492
    16492
    16492
    16492
    16492
    16492
    16492
    16492
@pull pull Bot locked and limited conversation to collaborators Sep 13, 2026
@pull pull Bot added the ⤵️ pull label Sep 13, 2026
@pull
pull Bot merged commit 9d54011 into turkdevops:master Sep 13, 2026
1 of 3 checks passed
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.

3 participants