[quickjs-devel] Re: Native stack overflow

  • From: ShaJunxing <shajunxing@xxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx, Alex <alexinbeijing@xxxxxxxxx>
  • Date: Thu, 25 Mar 2021 15:04:17 +0800

在 2021/3/25 下午2:06, Alex 写道:

On Thu, Mar 25, 2021 at 2:54 AM ShaJunxing <shajunxing@xxxxxxx <mailto: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

I'm not sure, I read from document, chapter 4.3.5

Other related posts: