ruby-changes:62931
From: Koichi <ko1@a...>
Date: Mon, 14 Sep 2020 16:22:56 +0900 (JST)
Subject: [ruby-changes:62931] ccb944fcfe (master): add NEW entries about Ractor and new method cache.
https://git.ruby-lang.org/ruby.git/commit/?id=ccb944fcfe From ccb944fcfe43aa9274b6d386d131a006e5a00b07 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Mon, 14 Sep 2020 16:22:13 +0900 Subject: add NEW entries about Ractor and new method cache. diff --git a/NEWS.md b/NEWS.md index 12de956..9f577f0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -158,6 +158,11 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L158 p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject] ``` +* Ractor + + * new class to enable parallel execution. See doc/ractor.md for + more details. + * Symbol * Modified method @@ -282,7 +287,13 @@ Excluding feature bug fixes. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L287 * New method cache mechanism for Ractor [[Feature #16614]] - * TODO: ko1 will write details + * Inline method caches pointed from ISeq can be accessed by multiple Ractors + in parallel and synchronization is needed even for method caches. However, + such synchronization can be overhead so introducing new inline method cache + mehanisms, (1) Disposable inline method cache (2) per-Class method cache + and (3) new invalidation mechanism. (1) can avoid per-method call + syncrhonization because it only use atomic operations. + See the ticket for more details. * The number of hashes allocated when using a keyword splat in a method call has been reduced to a maximum of 1, and passing -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/