Skip to content

Debug agent to track alive coroutines #876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Dec 13, 2018
Merged

Conversation

qwwdfsad
Copy link
Collaborator

@qwwdfsad qwwdfsad commented Dec 6, 2018

  • Can be installed dynamically or from command line
  • Captures coroutine creation stacktrace and stores it in completion, automatically enhancing stacktrace recovery mechanism
  • Allows to dump and introspect all active coroutines
  • Allows to dump Job hierarchy
  • When installed from command line, dumps all coroutines on kill -5
  • Probe support in undispatched coroutines

  * Can be installed dynamically or from command line
  * Captures coroutine creation stacktrace and stores it in completion, automatically enhancing stacktrace recovery mechanism
  * Allows to dump and introspect all active coroutines
  * Allows to dump Job hierarchy
  * When installed from command line, dumps all coroutines on kill -5
  * Probe support in undispatched coroutines
qwwdfsad and others added 3 commits December 10, 2018 20:19
  * Do not store creation stacktrace of the coroutine, recover it from ArtificialStackFrame
  * Reduce lock window where possible to avoid contention
  * Avoid stacktrace copying where possible
@qwwdfsad qwwdfsad changed the title [WIP] Debug agent to track alive coroutines Debug agent to track alive coroutines Dec 12, 2018
  * Readme
  * Do not fail on Windows during signal handler installation
  * Do not warn about missing artificial stackframe
@qwwdfsad qwwdfsad force-pushed the debug-agent branch 4 times, most recently from 979abd5 to d31c3f4 Compare December 13, 2018 08:39
…endency of target process), use shadow plugin for that to avoid clashes with other byte-buddy versions and publish shadow jar instead of regular one for debug module
@qwwdfsad qwwdfsad merged commit a5a7cdb into stacktrace-recovery Dec 13, 2018
@qwwdfsad qwwdfsad deleted the debug-agent branch December 13, 2018 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants