diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-27 06:13:19 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-27 06:13:19 +0000 |
commit | da65a3d9067a25628a8e033c1a4c800f671acdbc (patch) | |
tree | fb615cb913e14a18bcb93f34691b37c6d267d8e0 | |
parent | 5993c141f1c457d45807c3338cdc268052ac2a4e (diff) |
* gc.c (gc_page_sweep): disable debug print.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gc.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Nov 27 15:12:55 2013 Koichi Sasada <ko1@atdot.net> + + * gc.c (gc_page_sweep): disable debug print. + Wed Nov 27 15:05:59 2013 Koichi Sasada <ko1@atdot.net> * gc.c (gc_stat): add new information heap_eden_page_length and @@ -2742,7 +2742,7 @@ gc_page_sweep(rb_objspace_t *objspace, rb_heap_t *heap, struct heap_page *sweep_ 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); |