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

Unified Diff: src/sweeper-thread.cc

Issue 12256006: Limit stack size of sweeper threads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sweeper-thread.cc
diff --git a/src/sweeper-thread.cc b/src/sweeper-thread.cc
index 7e31e6cb56da937def85328f31ee7ce6d45f5a3e..10eac3e3751a2d3073b8774dfc6d75e0b1ecdab9 100644
--- a/src/sweeper-thread.cc
+++ b/src/sweeper-thread.cc
@@ -35,8 +35,10 @@
namespace v8 {
namespace internal {
+static const int kSweeperThreadStackSize = 64 * KB;
+
SweeperThread::SweeperThread(Isolate* isolate)
- : Thread("SweeperThread"),
+ : Thread(Thread::Options("SweeperThread", kSweeperThreadStackSize)),
Michael Starzinger 2013/02/13 13:17:54 While we are at it, let's also prefix the thread n
Hannes Payer (out of office) 2013/02/13 13:19:27 Done.
isolate_(isolate),
heap_(isolate->heap()),
collector_(heap_->mark_compact_collector()),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698