]> granicus.if.org Git - gc/commit
Add assertion on result alignment to GC_unix_mmap_get_mem
authorZoltan Varga <vargaz@gmail.com>
Tue, 23 May 2006 15:23:37 +0000 (15:23 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 10 Jan 2012 16:28:31 +0000 (20:28 +0400)
commit1bc2585b17fb68bafbce1365f2a0e8385890304d
tree480477e2577cf44540dde3117fbf5f496d6c1eae
parent459c7dac486a476744436b54bc1caf20a5e3a298
Add assertion on result alignment to GC_unix_mmap_get_mem
(Apply commit 3e56070 from 'mono_libgc' branch)

* os_dep.c (GC_unix_mmap_get_mem): Add an assert to bail out early if
run on a machine with smaller page size than HBLKSIZE.
os_dep.c