From: Eric Wong Date: 2018-05-17T02:58:57+00:00 Subject: [ruby-core:87097] Re: [Ruby trunk Feature#14767] [PATCH] gc.c: use monotonic counters for objspace_malloc_increase > 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: