Skip to content

[pull] master from ruby:master - #1432

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

pull[bot] merged 4 commits into
turkdevops:masterfrom
ruby:master

Conversation

@pull

@pull pull Bot commented Sep 21, 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 : )

luke-gruber and others added 4 commits September 21, 2026 13:55
It's safe to free these types during Ractor-local GC in Ruby 4.1. We've
seen the freeing of this type show up in profiles before.

ruby/openssl@e481c6408f

Co-authored-by: Kazuki Yamaguchi <k@rhe.jp>
Ref: https://bugs.ruby-lang.org/issues/17593.

Because `__FILE__` is currently considered a static literal,
it's entirely evaluated during compilation.

The problem is that ISeqs can be serialized and reloaded later,
but since `__FILE__` is entirely computed during compilation,
a serialized ISeq is coupled with the location of the source code.

This prevent compiling the the iseq with the source in one path,
and loading it later with the source in another path, which prevent
bootsnap precompilation from working with some builds systems.

I'm working on changing the compiler so that `__FILE__` is no longer
a static value, but a hidden methodthat returns the current ISeq path.

ruby/prism@f16d852c8c
@pull pull Bot locked and limited conversation to collaborators Sep 21, 2026
@pull pull Bot added the ⤵️ pull label Sep 21, 2026
@pull
pull Bot merged commit 1f717ae into turkdevops:master Sep 21, 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.

4 participants