[3.13] gh-142183: Cache one datachunk per tstate to prevent alloc/dealloc thrashing (GH-145789) (#146123)
* gh-142183: Cache one datachunk per tstate to prevent alloc/dealloc thrashing (GH-145789) (#145828) Cache one datachunk per tstate to prevent alloc/dealloc thrashing when repeatedly hitting the same call depth at exactly the wrong boundary. Move new _ts member to the end to not mess up remote debuggers' ideas of the struct's layout. (The struct is only created by the runtime, and the new field only used by the runtime, so it should be safe.) (cherry picked from commit 706fd4ec08acbf1b1def3630017ebe55d224adfa) (cherry picked from commit 19cbcc0f85f30954293dbd92d718d5b81880b092) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
T
T. Wouters committed
684e7af8cd61bca4914d0ec01b814ff530d5a123
Parent: 0d82ce8
Committed by GitHub <noreply@github.com>
on 3/24/2026, 1:27:57 AM