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