Tags:computer program tuning, genetic improvement, genetic programming, GNU glibc heap management, memory reduction, parameter search landscape and SBSE
Abstract:
We adapt ``The gem5 C++ glibc Heap Fitness Landscape'' W.B. Langdon and B.R. Bruce GI@ICSE 2025, to use Valgrind Massif on 1300000 line C++ gem5, on 600000 LOC C++ theorem prover Z3 and benchmarks from SMT-COMP 2024. Showing the memory landscape is far smoother than is commonly assumed and that Magpie and CMA-ES can tune GNU malloc giving 2.4 megabytes reductions in peak RAM use without coding changes. Similar results are given on the GCC and Clang LLVM compilers and 150000 LOC C Redis key-value database.