ruby/test
Matt Valentine-House bfc66e07b7 Fix Object Movement allocation in GC
When moving Objects between size pools we have to assign a new shape.

This happened during updating references - we tried to create a new shape
tree that mirrored the existing tree, but based on the root shape of the
new size pool.

This causes allocations to happen if the new tree doesn't already exist,
potentially triggering a GC, during GC.

This commit changes object movement to look for a pre-existing new tree
during object movement, and if that tree does not exist, we don't move
the object to the new pool.

This allows us to remove the shape allocation from update references.

Co-Authored-By: Peter Zhu <peter@peterzhu.ca>
2022-12-15 15:27:38 -05:00
..
-ext- Remove require 'io/wait' where it's no longer necessary. (#6932) 2022-12-15 11:37:01 +13:00
base64
benchmark
bigdecimal [ruby/bigdecimal] Tweak check_rounding_mode_option 2022-11-13 02:02:02 +00:00
cgi [ruby/cgi] Loosen the domain regex to accept '.' 2022-11-28 04:34:11 +00:00
coverage Fix false LocalJumpError when branch coverage is enabled 2022-11-08 14:37:08 +09:00
csv Reapply the following commits related to extend timeout value. 2022-12-09 16:36:22 +09:00
date [ruby/date] Implement Date#deconstruct_keys and DateTime#deconstruct_keys 2022-12-13 19:52:06 +00:00
did_you_mean [ruby/did_you_mean] Do not suggest #name= for #name and vice versa 2022-12-05 13:16:33 +00:00
digest [ruby/digest] Ignore test_ractor.rb on non-Ractor ruby 2022-07-21 11:45:48 +09:00
drb Do not run drb SSL tests on Windows 2022-12-02 10:49:56 -08:00
dtrace Use omit instead of skip without the default gems tests 2022-01-11 21:17:59 +09:00
erb [ruby/erb] Fix line numbers after multi-line <%# 2022-11-29 04:56:03 +00:00
error_highlight [ruby/error_highlight] Enable tests for TypeError and ArgumentError 2022-11-14 06:22:35 +00:00
etc
excludes Now Psych uses the proleptic Gregorian calendar 2022-09-07 10:37:01 +09:00
fiber Wait killed threads 2022-12-02 23:46:21 +09:00
fiddle Merge fiddle-1.1.1 2022-12-09 16:36:22 +09:00
fileutils [ruby/fileutils] [Feature #18925] Add ln_sr method and relative: option to ln_s 2022-11-25 01:03:57 +00:00
fixtures/fake_sorted_set_gem
io Remove require 'io/wait' where it's no longer necessary. (#6932) 2022-12-15 11:37:01 +13:00
irb [ruby/irb] Group show_doc tests and update the expectation 2022-12-12 21:05:03 +00:00
json [flori/json] test parsing of unicode, mixing literal characters with escaped 2022-07-29 19:10:10 +09:00
lib MJIT: Compile methods in batches (#6900) 2022-12-10 22:21:06 -08:00
logger [ruby/logger] Fix log rotation inter-process lock failed. 2022-01-27 12:33:06 +09:00
mkmf Also the tests should use the configured pkg-config 2022-10-02 15:19:14 +09:00
monitor
net Merge net-protocol-0.2.1 2022-12-09 16:36:22 +09:00
nkf
objspace ObjectSpace.dump_all: dump shapes as well 2022-12-08 18:46:16 +01:00
open-uri Add :ssl_min_version and :ssl_max_version options 2022-10-12 10:36:51 +09:00
openssl [ruby/openssl] Allow empty string to OpenSSL::Cipher#update 2022-12-13 18:07:41 +09:00
optparse [ruby/optparse] Fix the test failure i ruby/ruby 2022-11-28 16:20:40 +00:00
ostruct [ruby/ostruct] Fix class and method as attribute names 2022-03-07 20:08:22 +09:00
pathname [ruby/pathname] Implement Pathname#lutime 2022-04-21 17:10:19 +09:00
psych Merge Psych-5.0.1 2022-12-09 16:36:22 +09:00
racc [ruby/racc] Make racc test more flexible (for JRuby). 2022-11-10 22:36:34 +00:00
rdoc [ruby/rdoc] Non-RD part feature has not been imported to RDoc 2022-12-01 02:36:20 +09:00
readline Increase wait time 2021-12-25 00:20:53 +09:00
reline [ruby/reline] Fix a misparameter of RubyLex#set_input in 2022-12-14 00:00:39 +00:00
resolv [ruby/resolv] Use omit instead of skip for test-unit 2022-01-12 10:49:58 +09:00
rinda Skip running a DRb test on MinGW 2022-08-25 11:37:39 -07:00
ripper [Bug #18963] Separate string contents by here document terminator 2022-08-28 09:29:24 +09:00
ruby Fix Object Movement allocation in GC 2022-12-15 15:27:38 -05:00
rubygems [rubygems/rubygems] Clean up Indexer build files in tests 2022-12-14 10:11:07 +00:00
socket Prevent a "warning: assigned but unused variable - s2" 2022-11-18 14:39:40 +09:00
stringio [ruby/stringio] Fix the result of StringIO#truncate so compatible with File 2022-07-01 00:52:29 +09:00
strscan Merge strscan-3.0.5 2022-12-09 16:36:22 +09:00
syslog
uri [ruby/uri] Fix splitting relative URI 2022-10-13 16:24:53 +09:00
win32ole [ruby/win32ole] Use omit() for skip() 2022-01-12 10:50:43 +09:00
yaml Relax the timeout of a YAML test 2022-12-01 15:37:41 -08:00
zlib Introduce IO.new(..., path:) and promote File#path to IO#path. (#6867) 2022-12-08 18:19:53 +13:00
runner.rb Use the built bundled gems in test-all as well as test-bundled-gems 2022-12-09 02:20:16 +09:00
test_abbrev.rb
test_delegate.rb [ruby/delegate] Revert "Fix DelegateClass block "method redefined" warning" 2022-12-01 08:08:02 +00:00
test_extlibs.rb dbm and gdbm have been extracted gems. 2022-09-28 17:06:12 +09:00
test_find.rb [ruby/find] Use omit instead of skip for test-unit 2022-01-11 21:40:51 +09:00
test_forwardable.rb
test_getoptlong.rb
test_ipaddr.rb [ruby/ipaddr] Fix exception calling to_range' after freeze' 2022-02-10 17:18:05 +09:00
test_mutex_m.rb
test_observer.rb
test_open3.rb [ruby/open3] Use omit instead of skip for test-unit 2022-01-12 10:52:09 +09:00
test_pp.rb [ruby/pp] [Feature #19045] Add support Data#pretty_print 2022-10-14 21:31:24 +09:00
test_prettyprint.rb
test_pstore.rb [ruby/pstore] Emphasize keys instead of roots, values instead of objects (https://github.com/ruby/pstore/pull/7) 2022-07-07 07:05:01 +09:00
test_pty.rb Use omit instead of skip without the default gems tests 2022-01-11 21:17:59 +09:00
test_rbconfig.rb
test_securerandom.rb
test_set.rb [ruby/set] Get rid of use of Gem::Version 2022-07-14 17:13:52 +09:00
test_shellwords.rb
test_singleton.rb
test_sorted_set.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb [ruby/timeout] Explicit add the timeout thread to default ThreadGroup 2022-09-28 01:59:35 +09:00
test_tmpdir.rb [ruby/tmpdir] Warnings should contain the environment variable name 2022-10-27 03:12:00 +00:00
test_trick.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb