Skip to content

Push a frame for thread toplevel#9311

Merged
headius merged 1 commit intojruby:jruby-9.4from
headius:thread_toplevel_frame
Mar 16, 2026
Merged

Push a frame for thread toplevel#9311
headius merged 1 commit intojruby:jruby-9.4from
headius:thread_toplevel_frame

Conversation

@headius
Copy link
Copy Markdown
Member

@headius headius commented Mar 16, 2026

A new Thread should have a toplevel frame, even if the code it runs has been frame-optimized or is not Ruby code. This prevents any attempts to get a current binding from failing to access the frame stack.

Fixes #9308.

A new Thread should have a toplevel frame, even if the code it runs
has been frame-optimized or is not Ruby code. This prevents any
attempts to get a current binding from failing to access the frame
stack.

Fixes jruby#9308.
@headius headius added this to the JRuby 9.4.15.0 milestone Mar 16, 2026
@headius headius merged commit 84e3fb9 into jruby:jruby-9.4 Mar 16, 2026
89 of 98 checks passed
@headius headius deleted the thread_toplevel_frame branch March 16, 2026 21:42
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.

1 participant