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

git at git.haskell.org git at git.haskell.org
Sat May 6 22:26:14 UTC 2017


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

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

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

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

    Libdw: Reduce maximum backtrace depth


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

6a61f680e433e595b77e17fdf5e8581595acda97
 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