Skip to content
Commit 99250b40 authored by Raymond Toy's avatar Raymond Toy
Browse files

Fix some issues with zero check in gc_free_heap.

In gc_free_heap, the check that unallocated pages are zero can only be
done if gencgc_unmap_zero is MODE_MAP or MODE_MEMSET.  The other modes
are known not to zero memory.

Also, don't limit the check to the first 16K pages, and also check the
entire page of GC_PAGE_SIZE bytes, not just the first 1024 words.
parent b76e5972
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment