[#86787] [Ruby trunk Feature#14723] [WIP] sleepy GC — ko1@...

Issue #14723 has been updated by ko1 (Koichi Sasada).

13 messages 2018/05/01
[#86790] Re: [Ruby trunk Feature#14723] [WIP] sleepy GC — Eric Wong <normalperson@...> 2018/05/01

ko1@atdot.net wrote:

[#87095] [Ruby trunk Feature#14767] [PATCH] gc.c: use monotonic counters for objspace_malloc_increase — ko1@...

Issue #14767 has been updated by ko1 (Koichi Sasada).

9 messages 2018/05/17

[ruby-core:87097] Re: [Ruby trunk Feature#14767] [PATCH] gc.c: use monotonic counters for objspace_malloc_increase

From: Eric Wong <normalperson@...>
Date: 2018-05-17 02:58:57 UTC
List: ruby-core #87097
> Btw, I noticed I leftover a ssize_t usage in my patch
> to gc_reset_malloc_info, will fixup if I commit this.

Updated patch with ssize_t fix, here:
https://80x24.org/spew/20180517024218.30730-1-e@80x24.org/raw


Also, I realized we don't need atomics or monotonic counter for
oldmalloc_increase.   The only time we use oldmalloc_increase
is at gc_reset_malloc_info:

  https://80x24.org/spew/20180517025137.GA1569@whir/raw

  (GC.stat needs adjustment, though)

Not sure I notice a performance improvement, maybe 0.5%
Hard to measure...

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next