Commit 00a8973
authored
Porting
* port suspension algo from NativeAOT
* PING_JIT_TIMEOUT gone
* CatchAtSafePoint is always opportunistic
* current
* removed RareEnablePreemptiveGC
* cleanup RareDisablePreemptiveGC
* fix for x86
* factored out Thread::Hijack
* fix build for non-x64 windows
* assert noone holds TSL into coop mode
* activation safety check is always for the current thread
* undo comment
* PulseGCMode should not check for CatchAtSafePointOpportunistic
* not disabling preempt while holding TSL
* tweak
* dead assert
* tweak RareDisablePreemptiveGC
* RareDisablePreemptiveGC avoid GetSuspensionThread()
* updated Thread::Hijack
* fix typo
* allow coop mode while holding TS lock
* Refactored into SuspendAllThreads/ResumeAllThreads
* SetThreadTrapForSuspension
* deleted TS_GCSuspendPending
* tweaks
* PR feedbackSuspendAllThreads from the NativeAOT to CoreCLR. (#101782)1 parent 6b03ebd commit 00a8973
26 files changed
Lines changed: 684 additions & 966 deletions
File tree
- docs/design/datacontracts
- src/coreclr
- debug/ee
- nativeaot/Runtime
- pal
- inc
- src/exception
- vm
- i386
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3893 | 3893 | | |
3894 | 3894 | | |
3895 | 3895 | | |
3896 | | - | |
| 3896 | + | |
3897 | 3897 | | |
3898 | 3898 | | |
3899 | 3899 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | 331 | | |
340 | 332 | | |
341 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
301 | 300 | | |
302 | 301 | | |
303 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3772 | 3772 | | |
3773 | 3773 | | |
3774 | 3774 | | |
3775 | | - | |
| 3775 | + | |
3776 | 3776 | | |
3777 | 3777 | | |
3778 | 3778 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
836 | | - | |
| 836 | + | |
837 | 837 | | |
838 | 838 | | |
839 | 839 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
1339 | 1339 | | |
1340 | 1340 | | |
1341 | 1341 | | |
1342 | | - | |
1343 | 1342 | | |
1344 | 1343 | | |
1345 | 1344 | | |
1346 | 1345 | | |
1347 | 1346 | | |
1348 | 1347 | | |
1349 | | - | |
1350 | 1348 | | |
1351 | 1349 | | |
1352 | 1350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
655 | | - | |
| 655 | + | |
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
| 812 | + | |
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
| 827 | + | |
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
| |||
0 commit comments