Skip to content

Commit

Permalink
Fill ThreadPool command data from portable thread pool info when enab…
Browse files Browse the repository at this point in the history
…led (#1274)

Related to and depends on dotnet/runtime#38225

When the managed portable thread pool is enabled:
- Made the `ThreadPool` command work as expected, including `ThreadPool -ti` to show in-memory hill climbing thread adjustment history
- After the command queries the native side for info, it looks for a couple of static variables to determine if the portable thread pool is available and enabled
- If it's enabled, it collects equivalent information from the managed side
- Verified that the command works with and without the changes in dotnet/runtime#38225, and with the changes in both modes (portable thread pool enabled and disabled)
  • Loading branch information
kouvel authored Oct 25, 2020
1 parent 9146ba9 commit c730a26
Show file tree
Hide file tree
Showing 3 changed files with 630 additions and 212 deletions.
Loading

0 comments on commit c730a26

Please sign in to comment.