We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f63c09 commit 88861f8Copy full SHA for 88861f8
1 file changed
src/snmalloc/backend/standard_range.h
@@ -40,7 +40,7 @@ namespace snmalloc
40
// Decay range caches deallocated memory and gradually releases it
41
// back to the parent, avoiding expensive repeated decommit/recommit
42
// cycles for transient allocation patterns.
43
-#ifdef SNMALLOC_NO_DECAY
+#ifdef SNMALLOC_ENABLE_DECAY
44
using DecayR = Pipe<GlobalR, CommitRange<PAL>>;
45
#else
46
using DecayR = Pipe<GlobalR, CommitRange<PAL>, DecayRange<PAL, Pagemap>>;
0 commit comments