On Fri, Sep 2, 2011 at 12:49 PM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net">mm_lists@pulsar-zone.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1bv">Would it be very hard to only disable this where compilers are known to<br>
have problems? Which compiler was it, and did its build also rely on<br>
autoconf etc?<br></div></blockquote><div><br>I am just being defensive here. I know that _at least_ Microsoft's compiler has a problem, but it might also be present in other compiler and architectures -- it is more a problem of the binary format than of the compiler, I believe.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div id=":1bv">
Other than allowing to see the transient .data file, another possible<br>
advantage would be the static constant data being loaded in read-only,<br>
non-executable pages (i.e. placed in the rodata section). But I didn't<br>
check yet how ECL loads its data, and it potentially also could use<br>
mmap+mprotect+madvise etc where wanted...</div></blockquote></div><br>It uses mmap where available, but I am not sure the flags are the right ones all the time. Another advantage is that this memory is totally free after use, unlike static data in a compiled file.<br>
<br>Juanjo<br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>