Commit 52cecdc
authored
Ensure proper InterpThreadContext initialization (#117479)
* Ensure proper InterpThreadContext initialization
In case an interpreted method was compiled on one thread and then later
executed on another thread that never executed any interpreted code
before, the InterpThreadContext was not initialized.
This change fixes that by calling Thread::GetInterpThreadContext from
the InterpreterStub in case it was not initialized for the current
thread yet.
* Fix Unix Amd641 parent f3548ef commit 52cecdc
File tree
5 files changed
+67
-24
lines changed- src/coreclr
- pal/inc
- vm
- amd64
- arm64
5 files changed
+67
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
565 | 568 | | |
566 | 569 | | |
567 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
568 | 582 | | |
569 | 583 | | |
570 | 584 | | |
571 | 585 | | |
572 | | - | |
573 | | - | |
574 | 586 | | |
575 | 587 | | |
576 | 588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
447 | 456 | | |
448 | 457 | | |
449 | 458 | | |
| |||
463 | 472 | | |
464 | 473 | | |
465 | 474 | | |
466 | | - | |
467 | | - | |
468 | 475 | | |
469 | 476 | | |
470 | 477 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
699 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
700 | 714 | | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
711 | 725 | | |
712 | | - | |
| 726 | + | |
713 | 727 | | |
714 | 728 | | |
715 | 729 | | |
716 | 730 | | |
717 | | - | |
718 | | - | |
| 731 | + | |
719 | 732 | | |
720 | 733 | | |
721 | 734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
1064 | 1066 | | |
1065 | 1067 | | |
1066 | 1068 | | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1067 | 1079 | | |
1068 | 1080 | | |
1069 | 1081 | | |
1070 | 1082 | | |
1071 | 1083 | | |
1072 | | - | |
1073 | | - | |
| 1084 | + | |
1074 | 1085 | | |
1075 | 1086 | | |
1076 | 1087 | | |
| |||
0 commit comments