[#69616] [Ruby trunk - Feature #11258] add 'x' mode character for O_EXCL — cremno@...
Issue #11258 has been updated by cremno phobia.
3 messages
2015/06/16
[#69643] [Ruby trunk - Misc #11276] [RFC] compile.c: convert to use ccan/list — normalperson@...
Issue #11276 has been updated by Eric Wong.
3 messages
2015/06/17
[#69751] [Ruby trunk - Bug #11001] 2.2.1 Segmentation fault in reserve_stack() function. — kubo@...
Issue #11001 has been updated by Takehiro Kubo.
3 messages
2015/06/27
[ruby-core:69646] [Ruby trunk - Feature #10295] [Closed] [PATCH] io.c (fptr_finalize): free memory (before GC sweep)
From:
normalperson@...
Date:
2015-06-18 01:28:11 UTC
List:
ruby-core #69646
Issue #10295 has been updated by Eric Wong. Status changed from Assigned to Closed r47758 ---------------------------------------- Feature #10295: [PATCH] io.c (fptr_finalize): free memory (before GC sweep) https://bugs.ruby-lang.org/issues/10295#change-52998 * Author: Eric Wong * Status: Closed * 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/