Ticket #198 (new meta)
Quick shutdown
| Reported by: | ichthyo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2beta |
| Component: | lumiera | Keywords: | QA architecture data meta |
| Cc: | Blocked By: | #195, #199, #200, #201, #700 | |
| Blocking: |
Description
quick shutdown circumventing dtors
this is a tracking ticket -- individual tasks depending.
By design, Lumiera allows to simply »pull the plug« instead of a convoluted orderly shutdown. We achieve this by journalling on the session data. Consequently, the plan is to implement a instantanous shutdown for release builds, where the process just blasts at end of main, thus preventing the runtime system from swapping in lots of pages just to invoke the trivial dtors.
Obviously, a small number of facilities needs to be prepared for such a behaviour, for example by registering with the ON_GLOBAL_SHUTDOWN or ON_EMERGENCY LifecycleHook.
Change History
Note: See
TracTickets for help on using
tickets.

(In #195) yeah, good point. I think, on a large extent, we are already kapable of doing so. Off the top of my head, I can't recall any dtor doing any state saving. Anyway, I'll add a separate ticket to track fast shutdown