Here are two examples:

https://cs.chromium.org/chromium/src/v8/src/regexp/x64/regexp-macro-assembler-x64.cc?l=769
https://cs.chromium.org/chromium/src/v8/src/ia32/macro-assembler-ia32.cc?l=676

Yang

On Thu, Oct 4, 2018 at 8:56 PM <lilo...@gmail.com> wrote:

> Thanks, that makes sense. If the write towards lower address page by page,
> it looks similar to _chkstk. BTW: any hint on which part of V8 code handles
> this, like generating these writes?
>
> On Thursday, October 4, 2018 at 11:32:41 AM UTC-7, Yang Guo wrote:
>>
>> iirc we simply write to these stack locations to make sure they are
>> committed.
>>
>> Yang
>>
>> On Thu, Oct 4, 2018 at 8:21 PM <lil...@gmail.com> wrote:
>>
>>> Large stack allocation on Windows usually needs to call _chkstk to make
>>> sure the the memory is committed. C++ function should be handled by C++
>>> compiler automatically, but I didn't see any call to _chkstk() in V8 source
>>> for JIT code. Is it handled in some different way?
>>>
>>> --
>>> --
>>> v8-dev mailing list
>>> v8-...@googlegroups.com
>>> http://groups.google.com/group/v8-dev
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "v8-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to v8-dev+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> --
> v8-dev mailing list
> v8-dev@googlegroups.com
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to