Did the now-defunct exit(0) project ever come up in this discussion?
See bugs 662444 and 826143. This was a perf team project back in the Snappy days where the objective was to write important data to disk ASAP, then exit(0) without doing a bunch of cleanup. The argument for this was that, yes, during development we want to make sure that we are properly cleaning up after ourselves, but there is no reason for end users with opt builds to be waiting around while Firefox spends a bunch of time destroying things that are going to be wiped anyway by process termination.
Aaron On 6/30/2016 2:49 AM, Nicolas Silva wrote:
Hi dev-platform, We had a session about shutdown problems during the London workweek. I did a writeup of what was discussed and as it grew into a large-ish piece, I put it in a wiki page (instead of the email I intended to send initially) [1]. There's been a lot of work on reducing shutdown crashes/hangs (especially with e10s) this year, but we still have a lot of work to do [2]. The page contains some discussions about the kinds of issues we ran into in the gfx team and of how we went about addressing some of them. If you are working on shutdown problems, you may (or may not) find useful information in there. If you have some experience with dealing with shutdown bugs, I encourage you to do a brain dump on that wiki page. There's also a two-phase shutdown proposal briefly described in there [3], that is worth discussing because it would involve some cooperation between different modules. Cheers, Nical [1] https://wiki.mozilla.org/Gecko:Shutdown_issues [2] https://crash-stats.mozilla.com/search/?product=Firefox&shutdown_progress=shutdown&_facets=signature&_columns=date&_columns=signature&_columns=version&_columns=build_id&_columns=platform&_columns=shutdown_progress#facet-signature [3] https://wiki.mozilla.org/Gecko:Shutdown_issues#Two-phase_shutdown_proposal _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform