Project

General

Profile

« Previous | Next » 

Revision 1ad6dde9

Added by tenderlovemaking (Aaron Patterson) about 6 years ago

Fix ASAN errors when walking the heap

verify_internal_consistency_i and gc_verify_heap_page would walk the
heap, reading data from each slot, but would not unpoison the object
before reading. This commit unpoisons the slot before reading so that
we won't get ASAN errors

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e