Skip to content

Joining common stacks like parallel stacks #530

Closed

Description

@davidfowl

The 2 commands that show stacks, dumpasync -stacks and clrthreads -a repeat common stacks which become pretty unusable with larger dumps (especially in ASP.NET Core when there's lots of requests).

It would be useful to show a view of the stack that joined repeated stacks. This can get complicated as stack can join and fork again but maybe there's something basic we can do that isn't just repeating all similar async chains or stacks in the console output.

Activity

  1. added
    enhancement
    on Oct 5, 2019
  2. added this to the 3.1 milestone on Oct 7, 2019
  3. removed their assignment
    on Oct 7, 2019
  4. stephentoub commented on Oct 7, 2019

    @stephentoub
    Member

    I'd be happy seeing this added, and even took a few hours a few months back to look into doing so. But as mentioned it's not trivial.

  5. davidfowl commented on Oct 7, 2019

    @davidfowl
    MemberAuthor

    I was thinking of a cheap way to make progress, for e.g. exact matches only, if there's a split, it's a unique stack.

  6. modified the milestones: 3.1, 5.0 on Oct 8, 2019
  7. modified the milestones: 5.0, 6.0 on Dec 18, 2020
  8. modified the milestones: 6.0.0, 7.0.0 on Jun 21, 2021
  9. stephentoub commented on Mar 27, 2022

    @stephentoub
    Member

    I've rewritten dumpasync in C# and I added a parallel-stacks-like option.

  10. ghost closed this as completedin #2964on Apr 14, 2022
  11. ghost locked as resolved and limited conversation to collaborators on Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dotnet-dumpenhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions