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
Koichi Sasada 36da0b3da1 check interrupts at each frame pop timing.
Asynchronous events such as signal trap, finalization timing,
thread switching and so on are managed by "interrupt_flag".
Ruby's threads check this flag periodically and if a thread
does not check this flag, above events doesn't happen.

This checking is CHECK_INTS() (related) macro and it is placed
at some places (laeve instruction and so on). However, at the end
of C methods, C blocks (IMEMO_IFUNC) etc there are no checking
and it can introduce uninterruptible thread.

To modify this situation, we decide to place CHECK_INTS() at
vm_pop_frame(). It increases interrupt checking points.
[Bug #16366]

This patch can introduce unexpected events...
2019-11-29 17:47:02 +09:00
..
enc
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
test_argf.rb
test_arithmetic_sequence.rb
test_arity.rb
test_array.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_assignment.rb test/ruby/test_assignment.rb: use bug number for assert message 2019-09-21 19:23:47 +09:00
test_ast.rb Revert "Method reference operator" 2019-11-12 17:24:48 +09:00
test_autoload.rb Add a test 2019-11-19 17:36:47 +09:00
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb Prohibit calling undefined allocator [Bug #16297] 2019-11-06 11:17:09 +09:00
test_clone.rb
test_comparable.rb Raise on end-exclusive ranges [Feature #14784] 2019-10-26 12:52:50 +09:00
test_complex.rb Make Kernel#{Pathname,BigDecimal,Complex} return argument if given correct type 2019-09-21 16:10:37 -07:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb Avoid top-level search for nested constant reference from nil in defined? 2019-11-13 15:36:58 +09:00
test_continuation.rb
test_default_gems.rb Skip test_validate_gemspec when tarball and git installed too 2019-11-23 01:57:19 +09:00
test_defined.rb
test_dir.rb
test_dir_m17n.rb Make rb_scan_args handle keywords more similar to Ruby methods (#2460) 2019-09-25 11:18:49 -07:00
test_econv.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_encoding.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_enum.rb Fix memory corruption in Enumerable#reverse_each [ruby-dev:50867] [Bug #16354] 2019-11-19 15:35:14 -06:00
test_enumerator.rb Add rb_enumeratorize_with_size_kw and related macros 2019-09-30 07:06:42 -07:00
test_env.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_eval.rb
test_exception.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_fiber.rb Suspend many fibers test on JIT for now 2019-11-13 09:38:22 -08:00
test_file.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_file_exhaustive.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_fixnum.rb
test_flip.rb
test_float.rb
test_fnmatch.rb Fix for wrong fnmatch patttern 2019-10-01 19:19:56 +09:00
test_gc.rb Fix passing actual object_id to finalizer 2019-11-08 12:41:05 -08:00
test_gc_compact.rb Add a counter for compaction 2019-11-07 12:46:14 -08:00
test_hash.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_ifunless.rb
test_integer.rb bignum.c (estimate_initial_sqrt): prevent integer overflow 2019-10-21 21:24:21 +09:00
test_integer_comb.rb
test_io.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_io_m17n.rb Make rb_scan_args handle keywords more similar to Ruby methods (#2460) 2019-09-25 11:18:49 -07:00
test_iseq.rb catch up last commit. 2019-11-18 10:24:38 +09:00
test_iterator.rb
test_jit.rb pack is not using invokebuiltin anymore 2019-11-18 09:31:36 -08:00
test_key_error.rb
test_keyword.rb Reduce duplicated warnings for the change of Ruby 3 keyword arguments 2019-11-29 17:32:27 +09:00
test_lambda.rb
test_lazy_enumerator.rb
test_literal.rb Make rb_scan_args handle keywords more similar to Ruby methods (#2460) 2019-09-25 11:18:49 -07:00
test_m17n.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_m17n_comb.rb
test_marshal.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_math.rb
test_metaclass.rb
test_method.rb Refined inspection of argument forwarding 2019-11-21 02:18:13 +09:00
test_mixed_unicode_escapes.rb
test_module.rb Fix test_module.rb 2019-11-20 13:42:56 +09:00
test_not.rb
test_notimp.rb
test_numeric.rb Suppress keyword argument warning from #step 2019-09-30 01:17:55 +09:00
test_object.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_objectspace.rb
test_optimization.rb Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
test_pack.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_parse.rb #@1 is no longer an embedded variable 2019-11-14 16:37:25 +09:00
test_path.rb Fixed File.extname at a name ending with a dot 2019-10-17 18:51:51 +09:00
test_pattern_matching.rb Raise NoMatchingPatternError when expr in pat doesn't match 2019-11-28 13:47:14 +09:00
test_pipe.rb
test_primitive.rb
test_proc.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_process.rb Try to avoid random failure 2019-10-15 18:53:33 +09:00
test_rand.rb
test_range.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb Make prepending a refined module after inclusion not break refinements 2019-11-28 19:57:04 +09:00
test_regexp.rb Undefine MatchData.allocate [Feature #16294] 2019-11-06 08:54:32 +09:00
test_require.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_rubyoptions.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_rubyvm.rb
test_rubyvm_mjit.rb RubyVM::MJIT.pause(wait: true) should wait 2019-09-26 16:28:34 +09:00
test_settracefunc.rb use builtin for TracePoint. 2019-11-08 09:09:29 +09:00
test_signal.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_stringchar.rb
test_struct.rb Reduce duplicated warnings for the change of Ruby 3 keyword arguments 2019-11-29 17:32:27 +09:00
test_super.rb
test_symbol.rb Added Symbol#start_with? and Symbol#end_with? method. [Feature #16348] 2019-11-28 23:49:28 +09:00
test_syntax.rb Revert "Method reference operator" 2019-11-12 17:24:48 +09:00
test_system.rb
test_thread.rb check interrupts at each frame pop timing. 2019-11-29 17:47:02 +09:00
test_thread_cv.rb
test_thread_queue.rb
test_threadgroup.rb
test_time.rb Update test to handle x32 ABI compiled Ruby on Linux 2019-10-17 12:21:47 -07:00
test_time_tz.rb
test_trace.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb * remove trailing spaces. [ci skip] 2019-11-29 03:11:28 +09:00
test_vm_dump.rb
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb