[Git][ghc/ghc][wip/io-manager-deadlock-detection] Try fixing test T7275
Duncan Coutts pushed to branch wip/io-manager-deadlock-detection at Glasgow Haskell Compiler / GHC Commits: d645cc9e by Duncan Coutts at 2026-07-22T16:51:48+01:00 Try fixing test T7275 The hypothesis is that this test's output is sensitive to the number of major GCs run, since these are the profiling samples. This MR makes idle GC work in the non-threaded RTS, and for this test that increases the number of major GCs, since the test program is frequently idle for more than 300ms. TODO: squash into a previous commit if this works. - - - - - 1 changed file: - testsuite/tests/profiling/should_run/Makefile Changes: ===================================== testsuite/tests/profiling/should_run/Makefile ===================================== @@ -7,10 +7,13 @@ DECIMAL_REGEXP = [0-9]\+.[0-9]\+ .PHONY: T7275 T7275: "$(TEST_HC)" -prof -v0 -rtsopts T7275.hs - ./T7275 +RTS -hc -i0 + ./T7275 +RTS -hc -i0 -I0 # Suzanne should appear here, despite having produced only pinned # allocations. Strip off the actual amounts and cost-center numbers since # they will be non-determinstic. + # Note also that this test is sensitive to the number of major GC's + # performed. The use of -i0 and -I0 above are intended to make this + # deterministic, but it is still sensitive to implementation changes. grep suzanne T7275.hp | cut -f1 -d' ' | sed -re 's/\([0-9]+\)//' .PHONY: T11489 View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d645cc9e79315d67bc46671e71767b3a... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d645cc9e79315d67bc46671e71767b3a... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Duncan Coutts (@dcoutts)