Ticket #198 (new meta)

Opened 3 years ago

Last modified 2 years ago

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

comment:1 Changed 3 years ago by ichthyo

  • Blocked By 195 added

(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

comment:2 Changed 3 years ago by ichthyo

  • Blocked By 199 added

comment:3 Changed 3 years ago by ichthyo

  • Blocked By 200 added

comment:4 Changed 3 years ago by ichthyo

  • Blocked By 201 added

comment:5 Changed 2 years ago by ct

  • Type changed from planned to meta

comment:6 Changed 16 months ago by ichthyo

  • Blocked By 700 added
Note: See TracTickets for help on using tickets.