* os_dep.c (GC_unix_get_mem): Add an assert to bail out early if the runtime is
run on a machine with smaller page size than HBLKSIZE.
svn path=/trunk/mono/; revision=61001
+2006-05-23 Zoltan Varga <vargaz@gmail.com>
+
+ * os_dep.c (GC_unix_get_mem): Add an assert to bail out early if the runtime is
+ run on a machine with smaller page size than HBLKSIZE.
+
2006-05-19 Martin Baulig <martin@ximian.com>
* include/gc.h: Don't include "libgc-mono-debugger.h".
# else
GC_ASSERT(last_addr != 0);
# endif
+ if (((word)result % HBLKSIZE) != 0)
+ ABORT ("GC_unix_get_mem: Memory returned by mmap is not aligned to HBLKSIZE.");
return((ptr_t)result);
}