[pull] master from ruby:master - #1449
Merged
Merged
Conversation
Currently, if GC is disabled, postmortem GC is not ran when a Ractor dies. This can cause the object space to have issues because we need to run the postmortem GC. This commit will guarantee that it runs.
Makes it consistent with nodes that contain text, like `StringNode` For those, `value` returns the literal. But we can't make it return a symbol for backwards compatibility. ruby/prism@7c1e135205
We are not going to optimized switch-based dispatch with the hash table, at least not yet, but we should let the interpreter profile the execution paths before ZJIT runs them. This should inject a lot more type information for the compiler. For example, on rubyboy, we go from ~1080ms/iter to ~820ms/iter. Later, we can make the dispatch faster too.
An inlined `leave` is just a `Jump` to the caller's continuation block, not a real return no frame pops there, so checking interrupts is pointless. Moved `CheckInterrupts` so it only runs on real (Standalone) returns and real returns are unaffected. Close Shopify#1033
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )