1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
normal 12409ad28c fiber: fix crash on GC after forking
Remove the remainder of ROOT_FIBER_CONTEXT use and unnecessary
differences between the root and non-root fiber.  This makes
it easier to follow new root fiber at fork time.

Multiple sources of truth often leads to bugs, as in this case.
We can determinte root fiber by checking a fiber against the root_fiber
of its owner thread.  The new `fiber_is_root_p' function
supports that.

Now, we can care only about free-ing/recycling/munmap-ing stacks
as appropriate.

[Bug #15050]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-12 20:49:24 +00:00
..
enc
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb Fix error when Encoding.default_external is Encoding::IBM437 2018-08-09 09:36:03 +00:00
test_arithmetic_sequence.rb enumerator.c: Fix ArithmeticSequence for complex step 2018-09-12 07:35:42 +00:00
test_arity.rb
test_array.rb fix sum on infinity 2018-07-22 10:47:33 +00:00
test_assignment.rb
test_ast.rb test/ruby/test_ast.rb: assert error messages too 2018-09-07 03:42:51 +00:00
test_autoload.rb test: skip 2 major unstable tests with MJIT 2018-06-26 15:56:08 +00:00
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb
test_clone.rb Don't copy FL_USER* on Kernel#clone. [Bug #14847] 2018-07-09 08:07:26 +00:00
test_comparable.rb
test_complex.rb complex.c: simplify division result 2018-09-01 07:34:31 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_default_gems.rb Fixed wrong variable name. 2018-06-02 13:55:54 +00:00
test_defined.rb
test_dir.rb dir.c: fix directory glob 2018-07-09 01:20:20 +00:00
test_dir_m17n.rb
test_econv.rb
test_encoding.rb
test_enum.rb fix sum on infinity 2018-07-22 10:47:33 +00:00
test_enumerator.rb enumerator.c: Introduce Enumerator::ArithmeticSequence 2018-08-06 09:08:28 +00:00
test_env.rb test_env.rb: change mingw branch 2018-08-15 01:55:09 +00:00
test_eval.rb
test_exception.rb test for wrong order: option 2018-07-17 01:26:22 +00:00
test_fiber.rb fiber: fix crash on GC after forking 2018-09-12 20:49:24 +00:00
test_file.rb
test_file_exhaustive.rb
test_fixnum.rb
test_flip.rb Remove warnings of flip-flop deprecation from tests and specs 2018-06-15 08:53:16 +00:00
test_float.rb object.c: raise on long invalid float string 2018-05-04 06:12:12 +00:00
test_fnmatch.rb
test_gc.rb
test_hash.rb
test_ifunless.rb
test_integer.rb object.c: prefer base optarg 2018-07-22 16:03:58 +00:00
test_integer_comb.rb
test_io.rb test/ruby/test_io.rb (test_select_leak): use handle_interrupt 2018-08-29 19:47:14 +00:00
test_io_m17n.rb
test_iseq.rb check trace flags at loading [Bug #14702] 2018-08-23 04:12:14 +00:00
test_iterator.rb
test_jit.rb test_jit.rb: show extra debug info for #test_unload_units 2018-09-11 11:09:59 +00:00
test_key_error.rb
test_keyword.rb
test_lambda.rb
test_lazy_enumerator.rb
test_literal.rb
test_m17n.rb
test_m17n_comb.rb
test_marshal.rb
test_math.rb math.c: adjust cbrt 2018-06-06 14:01:43 +00:00
test_metaclass.rb
test_method.rb
test_mixed_unicode_escapes.rb
test_module.rb Fix problem about notimplemented case 2018-08-13 13:48:27 +00:00
test_not.rb
test_notimp.rb
test_numeric.rb enumerator.c: Introduce Enumerator::ArithmeticSequence 2018-08-06 09:08:28 +00:00
test_object.rb
test_objectspace.rb
test_optimization.rb compile.c: remove unreachable jump only 2018-07-06 08:01:58 +00:00
test_pack.rb
test_parse.rb
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb remove VM_ENV_DATA_INDEX_ENV_PROC. 2018-05-23 06:56:08 +00:00
test_process.rb passing non-stdio fds is not supported on Windows 2018-08-17 01:14:37 +00:00
test_rand.rb random.c: endless range random 2018-08-03 06:31:22 +00:00
test_range.rb range.c: Range#cover? accepts Range object. [Feature #14473] 2018-09-05 19:06:08 +00:00
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb
test_regexp.rb
test_require.rb
test_rubyoptions.rb Use https instead of http 2018-09-11 09:46:49 +00:00
test_rubyvm.rb
test_rubyvm_mjit.rb test_rubyvm_mjit.rb: skip testing MJIT if not supported 2018-08-11 14:50:21 +00:00
test_settracefunc.rb give up insn attr handles_frame 2018-06-27 09:28:09 +00:00
test_signal.rb thread_pthread.c: main thread always gets hit by signals 2018-08-25 21:59:30 +00:00
test_sleep.rb
test_sprintf.rb test/ruby (*no_hidden_garbage): disable GC and skip if multi-threaded 2018-07-08 07:27:29 +00:00
test_sprintf_comb.rb
test_string.rb test: skip 2 major unstable tests with MJIT 2018-06-26 15:56:08 +00:00
test_stringchar.rb
test_struct.rb
test_super.rb
test_symbol.rb
test_syntax.rb parse.y: Deprecate flip-flops 2018-06-15 08:53:15 +00:00
test_system.rb test/ruby/test_system.rb: suppress prompt and echo on Windows 2018-08-18 02:44:35 +00:00
test_thread.rb Use &. after &. 2018-09-08 02:44:24 +00:00
test_thread_cv.rb Move obsoleted test/thread/test_*.rb with the current implementation. 2018-07-31 03:49:38 +00:00
test_thread_queue.rb Move obsoleted test/thread/test_*.rb with the current implementation. 2018-07-31 03:49:38 +00:00
test_threadgroup.rb
test_time.rb test/ruby (*no_hidden_garbage): disable GC and skip if multi-threaded 2018-07-08 07:27:29 +00:00
test_time_tz.rb No one knows how many leap seconds in year 2100 2018-07-16 14:43:38 +00:00
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb
test_vm_dump.rb
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb