1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/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
..
-test- ext/-test-/cxxanyargs: prevent have_devel check 2020-02-20 11:46:54 +09:00
bigdecimal Update the version of bigdecimal to 2.0.0 (#2784) 2019-12-25 15:21:50 +09:00
cgi/escape Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
continuation Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
coverage Updated dependencies on internal/warnings.h 2019-12-31 11:14:19 +09:00
date [ruby/date] Bump version to 3.0.0 2019-11-30 14:48:44 +09:00
dbm [ruby/dbm] Bump version to 1.1.0 2019-11-30 18:01:54 +09:00
digest Suppress deprecation warnings of MD5 from Xcode 11.1 2019-10-12 18:47:06 +09:00
etc [ruby/etc] Bump version to 1.1.0 2019-11-30 18:11:01 +09:00
fcntl Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
fiber Update dependencies 2019-11-18 23:16:22 +09:00
fiddle Drop executable bit of *.{yml,h,mk.tmpl} 2020-01-22 16:04:38 +09:00
gdbm [ruby/gdbm] Bump version to 2.1.0 2019-11-30 18:14:38 +09:00
io [ruby/io-console] bump up to 0.5.6 2020-02-18 11:34:38 +09:00
json [flori/json] Add :nodoc: for GeneratorMethods 2020-01-06 15:13:50 +09:00
monitor new_cond before mon_initialize 2019-12-04 13:36:41 +09:00
nkf Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
objspace Introduce disposable call-cache. 2020-02-22 09:58:59 +09:00
openssl [ruby/openssl] ts: simplify OpenSSL::Timestamp::Request#algorithm 2020-02-17 20:50:47 +09:00
pathname Fix call-seq of Pathname#{,l}ch{mod,own} [ci skip] 2020-02-15 12:14:12 +09:00
psych ext/psych/extconf.rb: braced VPATH is for nmake only 2019-12-05 17:57:56 +09:00
pty Updated dependencies on internal/warnings.h 2019-12-31 11:14:19 +09:00
racc/cparse Update the latest versions from upstream repository of racc 2019-10-30 21:36:59 +09:00
rbconfig/sizeof Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
readline Fix readline build dependency 2020-02-09 11:27:32 -05:00
ripper Workaround for bison provided by scoop on mswin environment 2020-02-15 21:20:25 +09:00
rubyvm Added depend files 2019-07-14 01:31:29 +09:00
sdbm Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
socket Updated dependencies on internal/warnings.h 2019-12-31 11:14:19 +09:00
stringio [ruby/stringio] Bump version to 0.1.0 2019-11-30 15:39:56 +09:00
strscan Update dependencies 2019-11-18 23:16:22 +09:00
syslog Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
win32 Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
win32ole Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
zlib [ruby/zlib] Bump version to 1.1.0 2019-11-30 18:21:52 +09:00
.document
extmk.rb Configure static extensions only if in charge 2019-11-19 15:11:41 +09:00
Setup
Setup.atheos
Setup.nt