Decrease number of stored stack frame pointers to fit into 512 PIPE_BUF

This commit is contained in:
Azat Khuzhin 2021-02-23 07:52:01 +03:00
parent 6b39e61d09
commit 2ced21c837

View File

@ -37,8 +37,12 @@ public:
static constexpr size_t capacity =
#ifndef NDEBUG
/* The stacks are normally larger in debug version due to less inlining. */
64
/* The stacks are normally larger in debug version due to less inlining.
*
* NOTE: it cannot be larger then 56 right now, since otherwise it will
* not fit into minimal PIPE_BUF (512) in TraceCollector.
*/
56
#else
32
#endif