[#114348] [Ruby master Feature#19832] Method#destructive?, UnboundMethod#destructive? — "sawa (Tsuyoshi Sawada) via ruby-core" <ruby-core@...>

Issue #19832 has been reported by sawa (Tsuyoshi Sawada).

15 messages 2023/08/06

[#114365] [Ruby master Bug#19834] Segmentation fault while running in docker — "ramachandran@... (Ramachandran A) via ruby-core" <ruby-core@...>

Issue #19834 has been reported by ramachandran@mallow-tech.com (Ramachandran A).

7 messages 2023/08/09

[#114380] [Ruby master Bug#19837] Concurrent calls to Process.waitpid2 misbehave on Ruby 3.1 & 3.2 — "kjtsanaktsidis (KJ Tsanaktsidis) via ruby-core" <ruby-core@...>

Issue #19837 has been reported by kjtsanaktsidis (KJ Tsanaktsidis).

7 messages 2023/08/11

[#114399] [Ruby master Feature#19839] Need a method to check if two ranges overlap — "shouichi (Shouichi KAMIYA) via ruby-core" <ruby-core@...>

Issue #19839 has been reported by shouichi (Shouichi KAMIYA).

27 messages 2023/08/18

[#114410] [Ruby master Bug#19841] Marshal.dump stack overflow with recursive Time — "segiddins (Samuel Giddins) via ruby-core" <ruby-core@...>

Issue #19841 has been reported by segiddins (Samuel Giddins).

9 messages 2023/08/18

[#114422] [Ruby master Feature#19842] Intorduce M:N threads — "ko1 (Koichi Sasada) via ruby-core" <ruby-core@...>

Issue #19842 has been reported by ko1 (Koichi Sasada).

30 messages 2023/08/21

[#114590] [Ruby master Bug#19857] Eval coverage is reset after each `eval`. — "ioquatix (Samuel Williams) via ruby-core" <ruby-core@...>

Issue #19857 has been reported by ioquatix (Samuel Williams).

21 messages 2023/08/30

[ruby-core:114462] [Ruby master Feature#19785] Deprecate `RUBY_GC_HEAP_INIT_SLOTS`

From: "byroot (Jean Boussier) via ruby-core" <ruby-core@...>
Date: 2023-08-23 08:28:45 UTC
List: ruby-core #114462
Issue #19785 has been updated by byroot (Jean Boussier).


> RUBY_GC_HEAP_INIT_PAGES will allocate pages to size pools based on the distribution of objects at boot, and I worry that it will be a different distribution than serving requests.

Unless the GC become capable of reusing an empty page of one pool for another? Assuming you call `GC.compact` or `Process.warmup` at the end of boot, the difference becomes marginal, and a single value becomes indeed much simpler to configure and keep up to date.

But perhaps I'm missing something?

----------------------------------------
Feature #19785: Deprecate `RUBY_GC_HEAP_INIT_SLOTS`
https://bugs.ruby-lang.org/issues/19785#change-104228

* Author: peterzhu2118 (Peter Zhu)
* Status: Open
* Priority: Normal
----------------------------------------
GitHub PR: https://github.com/ruby/ruby/pull/8147

The `RUBY_GC_HEAP_INIT_SLOTS` environment variable is replaced by
`RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS` (introduced in commit
[3ab3455](https://github.com/ruby/ruby/commit/3ab34551450c7a3a3e1ae0b24bf6b78d26129dfa)),
which allows for more fine-grained tuning of size pools. So it doesn't make
sense to keep the environment variable `RUBY_GC_HEAP_INIT_SLOTS`.

I'm proposing to deprecate `RUBY_GC_HEAP_INIT_SLOTS` and eventually remove it.



-- 
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/

In This Thread

Prev Next