[quickjs-devel] Re: Native stack overflow

  • From: Alex <alexinbeijing@xxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Thu, 25 Mar 2021 08:06:25 +0200

On Thu, Mar 25, 2021 at 2:54 AM ShaJunxing <shajunxing@xxxxxxx> wrote:

在 2021/3/24 上午7:47, Alejandro Montoya (Redacted sender alejandro93 for
DMARC) 写道:
Hi,

I noticed that the size of the stack on the native (C) size is
unexpectedly large; in fact, for any JavaScript code slightly more
complicated than "Hello world" the stack overflows the standard 1Mb size of
WIN32 processes.

Maybe it's because quickjs uses "reference counting" gc strategy?


Has this changed? Last time I read the source code for quickjs, it was
using a mark & sweep GC (or something very similar).

Thanks,
Alex Dowad

Other related posts: