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

Issue 2035007: Use a reasonable default pthread stack size on Mac OS X (Closed)

Created:
10 years, 7 months ago by Mark Mentovai
Modified:
9 years, 7 months ago
Reviewers:
agl
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Use a reasonable default pthread stack size on Mac OS X. Mac OS X uses a fixed default stack size of 512kB, which is too small for some purposes. glibc on Linux uses ulimit -s, which is both a more reasonable thing to do, and is generally set to a rational limit, such as 8MB. BUG=43422 TEST=None really on the trunk. On the Mac 375 branch, using the .pac file on the bug, Chrome should not crash on startup. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46717

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
M base/platform_thread_posix.cc View 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Mark Mentovai
10 years, 7 months ago (2010-05-07 17:01:05 UTC) #1
agl
10 years, 7 months ago (2010-05-07 17:04:19 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698