summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2021-08-31 16:58:29 -0700
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-09-02 01:22:19 +0900
commitcd4f5b13228879d954fa97b6aa479c4a5ef4fb0a (patch)
tree8c381dcc4235579c63b4fd69a3bff2f84808329b /spec/ruby/core/array
parent73b22b3ce9994b3e674de4d5016d2d9130b0e27d (diff)
Guard array when appending
This prevents early collection of the array. The GC doesn't see the array on the stack when Ruby is compiled with optimizations enabled [ruby-core:105099] [Bug #18140]
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions