ruby-changes:31796
From: ko1 <ko1@a...>
Date: Wed, 27 Nov 2013 15:13:26 +0900 (JST)
Subject: [ruby-changes:31796] ko1:r43875 (trunk): * gc.c (gc_page_sweep): disable debug print.
ko1 2013-11-27 15:13:19 +0900 (Wed, 27 Nov 2013) New Revision: 43875 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43875 Log: * gc.c (gc_page_sweep): disable debug print. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 43874) +++ ChangeLog (revision 43875) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Nov 27 15:12:55 2013 Koichi Sasada <ko1@a...> + + * gc.c (gc_page_sweep): disable debug print. + Wed Nov 27 15:05:59 2013 Koichi Sasada <ko1@a...> * gc.c (gc_stat): add new information heap_eden_page_length and Index: gc.c =================================================================== --- gc.c (revision 43874) +++ gc.c (revision 43875) @@ -2742,7 +2742,7 @@ gc_page_sweep(rb_objspace_t *objspace, r https://github.com/ruby/ruby/blob/trunk/gc.c#L2742 heap_pages_final_slots += final_slots; sweep_page->final_slots = final_slots; - if (1) fprintf(stderr, "gc_page_sweep(%d): freed?: %d, limt: %d, freed_slots: %d, empty_slots: %d, final_slots: %d\n", + if (0) fprintf(stderr, "gc_page_sweep(%d): freed?: %d, limt: %d, freed_slots: %d, empty_slots: %d, final_slots: %d\n", (int)rb_gc_count(), final_slots + freed_slots + empty_slots == sweep_page->limit, (int)sweep_page->limit, (int)freed_slots, (int)empty_slots, final_slots); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/