-
Notifications
You must be signed in to change notification settings - Fork 14
Open
ruby/ruby
#15991Milestone
Description
Right now if we don't know statically that an object being written to the frame/an object is an immediate, we always emit a write barrier. Instead, we should emit a run-time check testing if it is false or an immediate and only conditionally fire the write barrier.
A reasonable first PR would guard if VM_ENV_FLAG_WB_REQUIRED is set before a setlocal and side-exit if so (thereby completely omitting the write barrier in the majority of cases)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.