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.
In some cases which such APIs do not work correctly, we set
the limit using the old algorithm.
(AFAIK ChromeOS and MacOSX need the old method.)
BUG=420515, 457982
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190239
Patch Set 1 #Patch Set 2 : Add a small memory space to call few functions #Patch Set 3 : Remove try-and-error estimation #Patch Set 4 : Remove unused function #Patch Set 5 : Fallback if stach size is not estimated #
Total comments: 8
Patch Set 6 : Work for comments #
Total comments: 8
Patch Set 7 : #
Total comments: 1
Patch Set 8 : #Patch Set 9 : Revert on Mac OSX #Patch Set 10 : Fix an issue on MacOSX #
Total comments: 2
Patch Set 11 : Add FIXME #
Messages
Total messages: 21 (5 generated)
|