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

git at git.haskell.org git at git.haskell.org
Sun May 7 19:38:17 UTC 2017


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

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

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

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

    Libdw: Reduce maximum backtrace depth


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

20f6a4de5d96b3bc0068d69103e4d57183226f35
 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