1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/-ext-
Aaron Patterson 8db269edb3
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

Thanks @jhaberman for the test case

[ruby-core:105099] [Bug #18140]
2021-09-01 10:58:20 -07:00
..
arith_seq
array Guard array when appending 2021-09-01 10:58:20 -07:00
bignum
bug_reporter
class
debug
exception
file
float
funcall
gvl
hash
integer
iseq_load
iter
load
marshal
method
num2int
path_to_class
popen_deadlock
postponed_job
proc
rational
st
string
struct
symbol
thread_fd Renamed thraed_fd_close as thread_fd 2021-07-29 21:15:04 +09:00
time
tracepoint
typeddata
vm
wait
win32
test_bug-3571.rb
test_bug-5832.rb
test_bug-14834.rb
test_enumerator_kw.rb
test_notimplement.rb
test_printf.rb Escape unprintable chars only, without surrounding quotes 2021-07-24 14:31:41 +09:00
test_random.rb
test_recursion.rb
test_scan_args.rb