Reviewers: Erik Corry,
Description:
Disable incremental marking when GC extension is exposed.
[email protected]
Please review this at http://codereview.chromium.org/8366001/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/incremental-marking.cc
Index: src/incremental-marking.cc
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
index
d0d3354b800e3eb5f228f7bde7a941bddef6ad9f..c0c03aa9ad6d9e9211ebc43ebe6b8c7cc3dc1a2f
100644
--- a/src/incremental-marking.cc
+++ b/src/incremental-marking.cc
@@ -353,7 +353,8 @@ bool IncrementalMarking::WorthActivating() {
static const intptr_t kActivationThreshold = 0;
#endif
- return FLAG_incremental_marking &&
+ return !FLAG_expose_gc &&
+ FLAG_incremental_marking &&
!Serializer::enabled() &&
heap_->PromotedSpaceSize() > kActivationThreshold;
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev