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-
Koichi Sasada b9007b6c54 Introduce disposable call-cache.
This patch contains several ideas:

(1) Disposable inline method cache (IMC) for race-free inline method cache
    * Making call-cache (CC) as a RVALUE (GC target object) and allocate new
      CC on cache miss.
    * This technique allows race-free access from parallel processing
      elements like RCU.
(2) Introduce per-Class method cache (pCMC)
    * Instead of fixed-size global method cache (GMC), pCMC allows flexible
      cache size.
    * Caching CCs reduces CC allocation and allow sharing CC's fast-path
      between same call-info (CI) call-sites.
(3) Invalidate an inline method cache by invalidating corresponding method
    entries (MEs)
    * Instead of using class serials, we set "invalidated" flag for method
      entry itself to represent cache invalidation.
    * Compare with using class serials, the impact of method modification
      (add/overwrite/delete) is small.
    * Updating class serials invalidate all method caches of the class and
      sub-classes.
    * Proposed approach only invalidate the method cache of only one ME.

See [Feature #16614] for more details.
2020-02-22 09:58:59 +09:00
..
arith_seq
array
bignum
bug_reporter skip SEGV test if RUBY_ON_BUG is specified 2020-02-13 04:20:22 +09:00
class
debug
exception
file
float
funcall Update tests for full keyword argument separation 2020-01-02 18:40:45 -08:00
gvl
hash
integer
iseq_load
iter
load
marshal
method
num2int
path_to_class
popen_deadlock Fixed misspellings 2019-12-20 09:32:42 +09:00
postponed_job check interrupts at each frame pop timing. 2019-11-29 17:47:02 +09:00
proc
rational rb_rational_raw: convert num and den by to_int 2020-01-17 10:57:51 +09:00
st
string test/-ext-/string/test_fstring.rb: suppress a warning for taint 2019-11-18 09:25:49 -06:00
struct Fix typos 2019-11-09 21:12:29 +09:00
symbol
thread_fd_close
time
tracepoint Introduce disposable call-cache. 2020-02-22 09:58:59 +09:00
typeddata
vm
wait_for_single_fd
win32
test_bug-3571.rb
test_bug-5832.rb
test_bug-14834.rb
test_enumerator_kw.rb Add rb_enumeratorize_with_size_kw and related macros 2019-09-30 07:06:42 -07:00
test_notimplement.rb
test_printf.rb Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
test_recursion.rb
test_scan_args.rb Update tests for full keyword argument separation 2020-01-02 18:40:45 -08:00