[#101179] Spectre Mitigations — Amel <amel.smajic@...>
Hi there!
5 messages
2020/12/01
[#101694] Ruby 3.0.0 Released — "NARUSE, Yui" <naruse@...>
V2UgYXJlIHBsZWFzZWQgdG8gYW5ub3VuY2UgdGhlIHJlbGVhc2Ugb2YgUnVieSAzLjAuMC4gRnJv
4 messages
2020/12/25
[ruby-core:101374] [Ruby master Feature#10238] todo: remove dependency on malloc_usable_size
From:
ko1@...
Date:
2020-12-10 09:20:18 UTC
List:
ruby-core #101374
Issue #10238 has been updated by ko1 (Koichi Sasada). Target version deleted (3.0) Assignee set to ko1 (Koichi Sasada) ---------------------------------------- Feature #10238: todo: remove dependency on malloc_usable_size https://bugs.ruby-lang.org/issues/10238#change-89132 * Author: normalperson (Eric Wong) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) ---------------------------------------- malloc_usable_size shows up at or near the top of many profiles for me. We should be able to use ruby_sized_xfree in more places; especially if rb_data_type_t->dsize is defined. One possible improvement is to allow the rb_data_type_t->dsize pointer to be a FIXNUM, removing the need for some memsize functions. Furthermore, over-accounting malloc-ed bytes (presumably the reason malloc_usable_size was introduced). should be less harmful nowadays with incremental marking. ---Files-------------------------------- 0001-gc.c-use-ruby_sized_xfree-in-more-places.patch (3.19 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>