[sgen] Add debug option for valloc limit
authorVlad Brezae <brezaevlad@gmail.com>
Thu, 30 Mar 2017 21:01:16 +0000 (00:01 +0300)
committerVlad Brezae <brezaevlad@gmail.com>
Fri, 31 Mar 2017 12:17:53 +0000 (15:17 +0300)
commitfd5089b471e12d327d7ab12c3de6069d9e1a9573
treefa69a2877b9d92c49a95f61f69709a664c601593
parentdd08fd4160ee549fc529bd1e819ffd3c54f62cd8
[sgen] Add debug option for valloc limit

This allows us to stress test OOM inside sgen (and potentially other areas).
mono/sgen/sgen-gc.c
mono/utils/mono-mmap-internals.h
mono/utils/mono-mmap-windows.c
mono/utils/mono-mmap.c
mono/utils/mono-mmap.h