ruby-cvs:20350
From: akr ruby-lang.org
Date: Sun, 19 Aug 2007 13:34:45 +0900 (JST)
Subject: [ruby-cvs:20350] Ruby:r13113 (trunk): * gc.c: use VALGRIND_MAKE_MEM_UNDEFINED to detect use of collected
akr 2007-08-19 13:34:44 +0900 (Sun, 19 Aug 2007)
New Revision: 13113
Modified files:
trunk/ChangeLog
trunk/gc.c
Log:
* gc.c: use VALGRIND_MAKE_MEM_UNDEFINED to detect use of collected
objects if valgrind is available. It cannot detect first 2 words
because they are used as the free list.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13113&r2=13112
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/gc.c?r1=13113&r2=13112