Branch: refs/heads/master
Revision: bafc7a8
Author: dlongnecke-cray
Log Message:
Merge pull request #17070 from dlongnecke-cray/memory-module-to-submodules
Convert the Memory module into a submodule named Memory.Diagnostics (#17070)
An outcome of discussion in #16172 was that we should refactor the
Memory
module into a series of submodules. The new procedures
described in that issue would be added to a submodule named
Memory.Initialization
.
This PR migrates the contents of the Memory
module into a submodule
named Memory.Diagnostics
. A deprecation warning has been added
to each of the procedures in the Memory
module. Tests have been
modified to use Memory.Diagnostics
. A test for procedures in the
Memory
module has been added to test/deprecated
. Move the tests
for the Memory
module into a subfolder named Diagnostics
.
The task of adding the Memory.Initialization
module remains as
future work.
TESTING
- [x]
ALL
onlinux64
whenCOMM=none
- [x]
ALL
onlinux64
whenCOMM=gasnet
Reviewed by @lydia-duncan and @daviditen. Thanks!
Signed-off-by: David Longnecker dlongnecke-cray@users.noreply.github.com
Modified Files:
A modules/standard/Memory/Diagnostics.chpl
A test/deprecated/MemoryModule.chpl
A test/deprecated/MemoryModule.good
A test/deprecated/MemoryModule.noexec
A test/library/standard/Memory/Diagnostics/countMemory/README
A test/library/standard/Memory/Diagnostics/countMemory/countMemory.chpl
A test/library/standard/Memory/Diagnostics/countMemory/countMemory.good
A test/library/standard/Memory/Diagnostics/countMemory/countMemory.makegood
A test/library/standard/Memory/Diagnostics/countMemory/countMemory.prediff
R test/library/standard/Memory/countMemory/README
R test/library/standard/Memory/countMemory/countMemory.chpl
R test/library/standard/Memory/countMemory/countMemory.good
R test/library/standard/Memory/countMemory/countMemory.makegood
R test/library/standard/Memory/countMemory/countMemory.prediff
M modules/Makefile
M modules/standard/Memory.chpl
M test/arrays/deitz/part7/test_descriptor_frees.chpl
M test/arrays/ferguson/block-array-mem.chpl
M test/chplvis/benchmarks-hpcc/HPCCProblemSize.chpl
M test/classes/dinan/array_passed_to_constructor.chpl
M test/classes/initializers/array_passed_to_initializer.chpl
M test/distributions/robust/arithmetic/kernels/HPCCProblemSize.chpl
M test/distributions/robust/arithmetic/reindexing/simple-alias-mem-use.chpl
M test/distributions/robust/associative/performance/array_iter.chpl
M test/distributions/robust/associative/performance/domain_iter.chpl
M test/library/packages/Sort/performance/dist-performance.chpl
M test/library/standard/LinkedLists/checkListFreed.chpl
M test/library/standard/machine/machine.chpl
M test/memory/deitz/test_leaked_array.chpl
M test/memory/deitz/test_leaked_array_in_record.chpl
M test/memory/diten/freeNil.chpl
M test/memory/diten/reallocNil.chpl
M test/memory/diten/reallocToZero.chpl
M test/memory/figueroa/LeakedMemory1.chpl
M test/memory/figueroa/LeakedMemory2.chpl
M test/memory/figueroa/LeakedMemory3.chpl
M test/memory/figueroa/LeakedMemory5.chpl
M test/memory/figueroa/LeakedMemory6.chpl
M test/memory/figueroa/LeakedMemoryArrayOfClasses.chpl
M test/memory/figueroa/StringLeaks1.chpl
M test/memory/figueroa/StringLeaks2.chpl
M test/memory/figueroa/StringLeaks3.chpl
M test/memory/gbt/test-memLog.chpl
M test/memory/shannon/freedMalloc.chpl
M test/memory/shannon/memstatFlag.chpl
M test/memory/shannon/memstatPrint.chpl
M test/memory/shannon/printMemAllocs.chpl
M test/memory/shannon/printMemAllocs2.chpl
M test/memory/shannon/reallocZeroSize.chpl
M test/memory/sungeun/refCount/arrays-rankchange.chpl
M test/memory/sungeun/refCount/arrays.chpl
M test/memory/sungeun/refCount/arraysAndDomains.chpl
M test/memory/sungeun/refCount/domainMaps.chpl
M test/memory/sungeun/refCount/domains.chpl
M test/memory/vass/assign-to-memTrack.chpl
M test/multilocale/bradc/locales/queryLocaleStats.chpl
M test/multilocale/numLocales/bradc/numLocales2.chpl
M test/multilocale/numLocales/bradc/numLocales2Space.chpl
M test/parallel/forall/vass/performance/memleaks1-minimal.chpl
M test/parallel/forall/vass/performance/memleaks2-BlockDist.chpl
M test/performance/array/distCreate.chpl
M test/performance/bharshbarg/arr-forall.chpl
M test/performance/bharshbarg/views-forall.chpl
M test/performance/comm/low-level/arrayTransfer.chpl
M test/performance/compiler/bradc/probSize.chpl
M test/reductions/vass/reductions-perf.chpl
M test/release/examples/benchmarks/hpcc/HPCCProblemSize.chpl
M test/release/examples/primers/locales.chpl
M test/runtime/configMatters/comm/bigTransfer.chpl
M test/runtime/configMatters/comm/oversubscribedArrayAlloc.chpl
M test/runtime/configMatters/mem/fragmentation.chpl
M test/scan/scanPerf.chpl
M test/studies/hpcc/HPL/bradc/HPCCProblemSize.chpl
M test/studies/hpcc/HPL/vass/schurComplement.chpl
M test/studies/hpcc/RA/diten/probSize.chpl
M test/studies/hpcc/common/probSize-hpcc06.chpl
M test/studies/hpcc/common/probSize.chpl
M test/studies/twitter/survey.chpl
M test/types/string/StringImpl/common/memTrackSupport.chpl
Compare: Comparing ce39a077297f...bafc7a82954e · chapel-lang/chapel · GitHub