What about disallowing -hb on threaded builds? That does just sort of punt it a little bit, it a not quite satisfactory way perhaps
On Friday, May 6, 2016, Evan Laforge <qdun...@gmail.com> wrote: > I've used this a lot when looking for leaks. Especially combined with > other things like -hbdrag -hc, so I'd be sad to see it go. Without > it, how do you find lag and drag? > > On the other hand, the entire profiling system has been hard to use > because of crashes (perhaps due to that thread-unsafety thing), but > also because of lack of documentation, the fact that SCCs can > drastically change the performance of the things they are trying to > measure, and probably just personal incompetence. But that's not > really directly relevant to -hb, except to say I'd rather fix it than > delete it. > > On Fri, May 6, 2016 at 2:04 AM, Erik de Castro Lopo > <mle...@mega-nerd.com <javascript:;>> wrote: > > Hi all, > > > > After a bit of rather tedious and frustrating debugging I came to the > > realisation that the code for the `-hb` profiling option is not thread > > safe. See https://ghc.haskell.org/trac/ghc/ticket/12019 > > > > This gives us an opportunity to simply remove it instead of fixing it. > > If there is anyone that thinks this future is really useful (ie more > > useful than the other profiling modes) then I'm willing to fix it. > > But if noone would miss it. I'd much rather remove it. > > > > Thoughts? > > > > Erik > > -- > > ---------------------------------------------------------------------- > > Erik de Castro Lopo > > http://www.mega-nerd.com/ > > _______________________________________________ > > Glasgow-haskell-users mailing list > > Glasgow-haskell-users@haskell.org <javascript:;> > > http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users > _______________________________________________ > Glasgow-haskell-users mailing list > Glasgow-haskell-users@haskell.org <javascript:;> > http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users >
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users