Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !859

Add an optional task dumper thread

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Peter W. Draper requested to merge dumper-thread into master Jul 08, 2019
  • Overview 6
  • Commits 12
  • Changes 8

Creates an optional thread whose job is simply to poll for the existence of the file .dump in the current directory. When this file is found dumps of all the unskipped tasks and uncompleted entries in the queues is made, as is a dump of memory use, if --enable-memuse-reports was configured. Once the dump is complete the .dump file is removed and the application will just continue so must be killed normally, or can be dumped at a later time (this feature is aimed at checking deadlocks of the engine tasks, so not clear if that would be useful).

Uses configure flag --enable-dumper to enable, so not always available, so you need to catch the problem at least twice, but reliably works, unlike the signals version !857 (closed).

Edited Aug 16, 2019 by Peter W. Draper
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dumper-thread