Skip to content

Commit

Permalink
use bigger stack because of LuaJit optimizations of tail C-calls
Browse files Browse the repository at this point in the history
  • Loading branch information
AGulev committed Mar 14, 2023
1 parent 95329ce commit eeb3433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmprof/src/collections/lmprof_stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
** as the profiler can be configured to create one stack instance per coroutine.
*/
#if !defined(LMPROF_MAXSTACK)
#define LMPROF_MAXSTACK 1024 /* (LUAI_MAXSTACK >> 8) */
#define LMPROF_MAXSTACK 1024 * 64/* (LUAI_MAXSTACK >> 8) */
#endif

typedef struct lmprof_StackInst {
Expand Down

0 comments on commit eeb3433

Please sign in to comment.