Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Issue 63183003: Set at least PTHREAD_STACK_MIN stack size when creating threads. (Closed)

Created:
7 years, 1 month ago by palfia
Modified:
7 years, 1 month ago
CC:
v8-dev
Visibility:
Public.

Description

Set at least PTHREAD_STACK_MIN stack size when creating threads. This patch makes sure, that the stack size of the new threads are never less than PTHREAD_STACK_MIN, otherwise the pthread_attr_setstacksize() function sets the default stack size (8MB), which leads to failure in the BootUpMemoryUse test. TEST=cctest/test-mark-compact/BootUpMemoryUse BUG= R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=17610

Patch Set 1 #

Patch Set 2 : Move the fix to the constructor. #

Patch Set 3 : Fix size=0 case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/platform-posix.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
palfia
Hi Yang and Jakob, Please take a look. Thanks!
7 years, 1 month ago (2013-11-06 23:54:26 UTC) #1
Yang
On 2013/11/06 23:54:26, palfia wrote: > Hi Yang and Jakob, > > Please take a ...
7 years, 1 month ago (2013-11-07 09:40:08 UTC) #2
palfia
Thanks for the review! I've uploaded a new patchset, my answers are below. On 2013/11/07 ...
7 years, 1 month ago (2013-11-07 15:18:29 UTC) #3
Yang
On 2013/11/07 15:18:29, palfia wrote: > Thanks for the review! I've uploaded a new patchset, ...
7 years, 1 month ago (2013-11-08 08:55:14 UTC) #4
palfia
On 2013/11/08 08:55:14, Yang wrote: > On 2013/11/07 15:18:29, palfia wrote: > > Thanks for ...
7 years, 1 month ago (2013-11-08 17:34:36 UTC) #5
ouggnay
On 2013/11/08 17:34:36, palfia wrote: > On 2013/11/08 08:55:14, Yang wrote: > > On 2013/11/07 ...
7 years, 1 month ago (2013-11-08 20:52:20 UTC) #6
palfia
7 years, 1 month ago (2013-11-09 00:14:32 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r17610 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698