Commit aa8f47d9 authored by hpayer@chromium.org's avatar hpayer@chromium.org

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
parent b9af1ef1
......@@ -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()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment