chapel-lang/chapel — pull request #903 by hildeth (2014-11-21 23:15:51+00:00)
Title: Accept increased leak counts to quiet domainMaps tests.

The fix for early destruction of the contents of tuples #860 caused memory leaks to
increase (only) in memory/sungeun/refCount/domainMaps.

A previous attempt to quiet these tests #895, did not succeed.

This patch undoes #895 and instead updates the affected .good files to quiet the test.

The reasoning behind this approach is:
- The results that are affected -- creating a domain and array in using replicated
distribution -- seem specific to the implementation of Replicated Distributions in the
affected configurations: gasnet and no-local. (Interestingly, the numa configuration is
unaffected.)
- Since memory allocated for domains and arrays currently leaks in many configurations,
more work is required in this area. To facilitate progress in this area when it is
undertaken, it is probably better to have the logic for autoCopy and autoDestroy be as
simple as possible.
- The case that was fixed for tuples in #860 was clearly wrong, whereas the previously
lower leakage for the replicated distribution under gasnet and no-local may be
considered fortuitous.