diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2022-10-06 11:37:16 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2022-10-07 12:38:43 -0400 |
commit | d76854f1668fc6ee1cd8af15213d6e225269a9e4 (patch) | |
tree | b5c56fa1cd2aec6b426c0a61da9b196f5663f4cc | |
parent | ad0def7f259f793ce02400a8d6144f86b3615ddd (diff) |
Update NEWS about [Feature #18589]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6501
-rw-r--r-- | NEWS.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -282,6 +282,13 @@ The following deprecated APIs are removed. ## Implementation improvements * Fixed several race conditions in `Kernel#autoload`. [[Bug #18782]] +* Cache invalidation for expressions referencing constants is now + more fine-grained. `RubyVM.stat(:global_constant_state)` was + removed because it was closely tied to the previous caching scheme + where setting any constant invalidates all caches in the system. + New keys, `:constant_cache_invalidations` and `:constant_cache_misses`, + were introduced to help with use cases for `:global_constant_state`. + [[Feature #18589]] ## JIT @@ -343,3 +350,4 @@ The following deprecated APIs are removed. [Feature #19026]: https://bugs.ruby-lang.org/issues/19026 [Feature #16122]: https://bugs.ruby-lang.org/issues/16122 [Feature #18630]: https://bugs.ruby-lang.org/issues/18630 +[Feature #18589]: https://bugs.ruby-lang.org/issues/18589 |