Avoid unnecessary GC_find_limit invocation if GC_no_dls
authorZoltan Varga <vargaz@gmail.com>
Mon, 23 Feb 2009 21:26:49 +0000 (21:26 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 10 Jan 2012 11:02:11 +0000 (15:02 +0400)
commitdb0da19174f2c9ee4fc90c133190a0e23e464ccf
tree0a6e2ebf5a1d43a5934e5cf8d1ad66927504f5dd
parent416b03bba5ba3b2e90bd234239b9350714fd6de1
Avoid unnecessary GC_find_limit invocation if GC_no_dls
(Apply commit f5d47a1 from 'mono_libgc' branch)

* os_dep.c (GC_init_linux_data_start): Avoid the call to
GC_find_limit() if GC_no_dls is TRUE, as it is not needed and
it complicates debugging since it causes a SIGSEGV.
* os_dep.c (GC_register_data_segments): Add assertion for DATASTART.
os_dep.c