[#111712] [Ruby master Feature#19322] Support spawning "private" child processes — "kjtsanaktsidis (KJ Tsanaktsidis) via ruby-core" <ruby-core@...>
SXNzdWUgIzE5MzIyIGhhcyBiZWVuIHJlcG9ydGVkIGJ5IGtqdHNhbmFrdHNpZGlzIChLSiBUc2Fu
14 messages
2023/01/07
[ruby-core:111912] [Ruby master Feature#19355] Add finer coarsed locking for searching callable method entries
From:
"luke-gru (Luke Gruber) via ruby-core" <ruby-core@...>
Date:
2023-01-19 21:04:31 UTC
List:
ruby-core #111912
Issue #19355 has been reported by luke-gru (Luke Gruber). ---------------------------------------- Feature #19355: Add finer coarsed locking for searching callable method entries https://bugs.ruby-lang.org/issues/19355 * Author: luke-gru (Luke Gruber) * Status: Open * Priority: Normal ---------------------------------------- During multi-ractor mode, unfortunately when calling methods often there's a call to the internal cruby function `callable_method_entry`, which returns a cached CME or a new one. In the case that it's cached, there's a VM lock around its access that could be reduced to a lock pertaining to the class of the caller of the method. This reduces locking in multi-ractor mode and allows, for example, object allocation to happen at the same time as method calls. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/