DescriptionSet the stack limit size based on estimated sizes.
To check if the stack memory has enough room for recursive
calls, we tried to allocate a large object and assumed the size.
This CL estimate the real thread stack limit using APIs.
On some platforms where such APIs do not work correctly,
we set the limit using the old algorithm.
---
This CL is re-land of https://codereview.chromium.org/910663002/
with fixing a test.
We needed a longer call chain of trace() to expect
to use an alternative marking method, because we got wider
stack memory area to go eagerly.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190388
Patch Set 1 #
Total comments: 2
Patch Set 2 : Expand the loop #
Total comments: 2
Patch Set 3 : Work for comments #
Messages
Total messages: 16 (5 generated)
|