Skip to content

Commit

Permalink
Merge pull request #139962 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-25.1-139923

release-25.1: cli: set jemalloc config only on linux
  • Loading branch information
RaduBerinde authored Jan 28, 2025
2 parents d334437 + e9ff689 commit a53e619
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cli/start_jemalloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ import (
// // --with-malloc-conf and malloc_conf are compile-time mechanisms, whereas
// // /etc/malloc.conf and MALLOC_CONF can be safely set any time prior to
// // program invocation.
// #ifdef __linux__
// const char *je_malloc_conf = "background_thread:true,thp:never,metadata_thp:disabled,dirty_decay_ms:2000,muzzy_decay_ms:0";
// #endif
//
// // Checks whether jemalloc profiling is enabled and active.
// // Returns true if profiling is enabled and active.
Expand Down

0 comments on commit a53e619

Please sign in to comment.