gh-143421: Move JitOptContext from stack allocation to per-thread heap allocation to avoid stack overflow.
#230284
| Job | Run time |
|---|---|
| 4s | |
| 3s | |
| 7s |