[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69301] [Ruby trunk - Feature #10295] [Assigned] [PATCH] io.c (fptr_finalize): free memory (before GC sweep)
From:
shibata.hiroshi@...
Date:
2015-05-21 08:16:53 UTC
List:
ruby-core #69301
Issue #10295 has been updated by Hiroshi SHIBATA. Status changed from Open to Assigned Assignee set to Eric Wong ---------------------------------------- Feature #10295: [PATCH] io.c (fptr_finalize): free memory (before GC sweep) https://bugs.ruby-lang.org/issues/10295#change-52560 * Author: Eric Wong * Status: Assigned * Priority: Low * Assignee: Eric Wong ---------------------------------------- Note: just committed r47712 which was trivial. This passes tests, too, but I would appreciate another set of eyes in case there's a subtle finalization issue I'm missing. This releases memory on explict calls to rb_io_close, reducing pressure on the GC. Final massif snapshot shows reduced heap usage after RubyGems load (valgrind --tool=massif ./ruby -e exit) before: mem_heap_B=4821992 mem_heap_extra_B=1302952 after: mem_heap_B=4791056 mem_heap_extra_B=1192440 ---Files-------------------------------- 0001-io.c-fptr_finalize-free-memory-before-GC-sweep.patch (1.16 KB) -- https://bugs.ruby-lang.org/