Skip to content

Commit 88861f8

Browse files
committed
Default decay range off
1 parent 6f63c09 commit 88861f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/snmalloc/backend/standard_range.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace snmalloc
4040
// Decay range caches deallocated memory and gradually releases it
4141
// back to the parent, avoiding expensive repeated decommit/recommit
4242
// cycles for transient allocation patterns.
43-
#ifdef SNMALLOC_NO_DECAY
43+
#ifdef SNMALLOC_ENABLE_DECAY
4444
using DecayR = Pipe<GlobalR, CommitRange<PAL>>;
4545
#else
4646
using DecayR = Pipe<GlobalR, CommitRange<PAL>, DecayRange<PAL, Pagemap>>;

0 commit comments

Comments
 (0)