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/
and https://codereview.chromium.org/927213002/.
Test was changed in another CL https://codereview.chromium.org/946483002/
BUG=420515, 457982
R=kouhei
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190636
Patch Set 1 #Patch Set 2 : Update comments #
Messages
Total messages: 10 (2 generated)
|