-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Migrate coreclr's worker thread pool to be able to use the portable thread pool in opt-in fashion #38225
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
Migrate coreclr's worker thread pool to be able to use the portable thread pool in opt-in fashion #38225
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
da29c61
Add dependencies
423d830
Add config var
ad228ef
Move portable RegisteredWaitHandle implementation to shared ThreadPoo…
1155fb0
Merge RegisteredWaitHandle implementations
6f9b3dc
Separate portable-only portion of RegisteredWaitHandle
d792cd7
Fix timers, tiered compilation, introduced time-sensitive work item q…
a911883
Implement ResetThreadPoolThread, set thread names for diagnostics
40ce9d0
Cache-line-separate PortableThreadPool._numRequestedWorkers similarly…
a5d3c2b
Post wait completions to the IO completion port on Windows for corecl…
ad632be
Reroute managed gate thread into unmanaged side to perform gate activ…
f942773
Flow config values from CoreCLR to the portable thread pool for compat
0ef2079
Port - 44970522045f0c323f5735c4fe4b54bd8f71e800 - Fix hill climbing f…
3151057
Port - aa5ce2b1bc9ac553ddd493e269a53c999d61e965 - Limit min threads i…
5d8d4ae
Port - 8cc2aa35933677339b9e9ec5485754aa750907df - Optimize AdjustMaxW…
3916619
Fix ETW events
88ea9c4
Fix perf of counts structs
8ef63f9
Fix perf of dispatch loop
e01df4f
Fix perf of ThreadInt64PersistentCounter
7c89f81
Miscellaneous perf fixes
13c2d62
Fix starvation heuristic
dd23472
Implement worker tracking
6cd2b2d
Use smaller stack size for threads that don't run user code
c8bdfad
Note some SOS dependencies, small fixes in hill climbing to make equi…
38c00d5
Port some tests from CoreRT
0ff3b03
Fail-fast in thread pool native entry points specific to thread pool …
cc35f92
Fix SetMinThreads() and SetMaxThreads() to return true only when both…
79eb3b9
Fix registered wait removals for fairness since there can be duplicat…
8b309cc
Allow multiple DotNETRuntime event providers/sources in EventPipe
ac1917d
Fix registered wait handle timeout logic in the wait thread
73f911c
Fix Browser build
1b99da7
Remove unnecessary methods from Browser thread pool, address some fee…
17b3d2d
Fix build warning after merge
e8043ff
Address feedback for events, undo EventPipe change in mono, change ev…
8d9cc2d
Disable new timer test for browser
f03709b
Fix EventSource tests to expect the new provider name used in mono
ff48985
Revert event source name in mono to match coreclr
93563e6
Add issue link for prerequisites of enabling the portable thread pool…
100dad7
Address feedback
4c7f778
Fix race condition in registered wait unregister
d55c5fc
Fix a new issue in WaitThread after shifting items in arrays
996597f
Fix usage of LowLevelMonitor after rebase
82f7cda
Fix tests that use RemoteExecutor to include a test for whether it is…
b53a5b9
Fix build
7dcb267
Slight fix to starvation heuristic to be closer to what it was before
65840d8
Fix license headers in new files
fb28ad2
Address feedback
04326b6
Change pattern for accessing the event source for better ILLinker com…
ec038cf
Move hill climbing config reads into constructor instead of passing t…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add config var
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.