Reviewers: Michael Starzinger,
Description:
Limit stack size of sweeper threads.
BUG=
Please review this at https://chromiumcodereview.appspot.com/12256006/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/sweeper-thread.cc
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)),
isolate_(isolate),
heap_(isolate->heap()),
collector_(heap_->mark_compact_collector()),
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.