Andrew Noyes
68c03a7e32
Jemalloc integration fixes ( #6626 )
...
* Set default for USE_JEMALLOC initially in ConfigureCompiler
Instead of trying to change the value later on. This fixes the valgrind
build, which was previously incorrectly getting jemalloc involved.
* Check aligned_alloc result for null
And OOM if so - don't assert
* Check that we can allocate magazines with no internal fragmentation
We may want to do this so that the jemalloc heap profiler has some
knowledge of FastAlloc
* Populate TestFile field for noSim tests in TestHarness
* Remove handling for nonexistent "ActualRun"
2022-03-17 15:17:27 -07:00
Andrew Noyes
ccc11cbdb2
Apply jemalloc fix, and always build jemalloc ( #6610 )
...
* Apply jemalloc fix, and always build jemalloc
See https://github.com/jemalloc/jemalloc/pull/1924
* Move USE_JEMALLOC to flow/config.h
* Add unit test to validate fix
2022-03-16 13:19:28 -07:00
Steve Atherton
415d1958d4
Build configuration fix: USE_JEMALLOC=OFF had no effect, did not disable using jemalloc on platforms that support it. ( #6590 )
2022-03-14 11:00:34 -07:00
Yi Wu
e6950abae6
Use jemalloc for SQLite/Redwood page cache allocation
2022-03-09 11:48:08 -08:00
Renxuan Wang
f39e34cabe
Use --enable-prof switch when building jemalloc。
...
I got errors like `<jemalloc>: Invalid conf pair: prof:true` when trying to use jemalloc. Referring to https://stackoverflow.com/questions/27422508/heap-dump-fails-with-jemalloc-mcllctl , seems that we are missing out this flag. https://github.com/jeffgriffith/native-jvm-leaks#building .
2021-10-21 10:08:55 -07:00
Markus Pilman
0ba99c8e83
Pretty-print topology when starting simulation
2021-03-23 09:38:07 -06:00
Dave Cottlehuber
c848ae4cda
cmake: skip jemalloc on FreeBSD
...
FreeBSD is the upstream for jemalloc so it's the system malloc already
2021-02-22 16:15:02 +00:00
Markus Pilman
9b2bab96f1
add comment explaining the change
2021-02-04 15:39:42 -07:00
Markus Pilman
aae947ad0b
Fix order of jemalloc libraries
...
PIC library has to be first
2021-02-04 15:13:41 -07:00
Markus Pilman
7b489da13b
introduce USE_JEMALLOC and some refactoring
2021-02-04 11:53:28 -07:00
Markus Pilman
f4370adfcb
use INTERFACE for interface target
2021-02-04 11:22:45 -07:00
Markus Pilman
c870903c38
fix jemalloc dependencies
2021-01-26 11:37:09 -07:00
Markus Pilman
97c5e13091
added debug message to figure out why CI is failing
2021-01-26 11:13:14 -07:00
Markus Pilman
b149069b58
link statically against jemalloc
2021-01-21 13:35:27 -07:00