Limit stack size of sweeper threads.

BUG=

Review URL: https://codereview.chromium.org/12256006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13653 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
hpayer@chromium.org 2013-02-13 13:19:38 +00:00
parent b9af1ef185
commit aa8f47d9ba

View File

@ -35,8 +35,10 @@
namespace v8 {
namespace internal {
static const int kSweeperThreadStackSize = 64 * KB;
SweeperThread::SweeperThread(Isolate* isolate)
: Thread("SweeperThread"),
: Thread(Thread::Options("v8:SweeperThread", kSweeperThreadStackSize)),
isolate_(isolate),
heap_(isolate->heap()),
collector_(heap_->mark_compact_collector()),