[commit: ghc] wip/libdw-prof: Libdw: Reduce maximum backtrace depth (2071977)

git at git.haskell.org git at git.haskell.org
Sat May 6 22:40:12 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/libdw-prof
Link       : http://ghc.haskell.org/trac/ghc/changeset/207197741798f04efb958b0595068e1254a26d40/ghc

>---------------------------------------------------------------

commit 207197741798f04efb958b0595068e1254a26d40
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Nov 21 21:50:55 2016 -0500

    Libdw: Reduce maximum backtrace depth


>---------------------------------------------------------------

207197741798f04efb958b0595068e1254a26d40
 rts/Libdw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/Libdw.c b/rts/Libdw.c
index 33a40a1..1e4f50e 100644
--- a/rts/Libdw.c
+++ b/rts/Libdw.c
@@ -16,7 +16,7 @@
 #include <dwarf.h>
 #include <unistd.h>
 
-const int max_backtrace_depth = 5000;
+const int max_backtrace_depth = 500;
 
 static BacktraceChunk *backtraceAllocChunk(BacktraceChunk *next) {
     BacktraceChunk *chunk = stgMallocBytes(sizeof(BacktraceChunk),



More information about the ghc-commits mailing list