Reviewers: Jakob,
Description:
Rollback of r13152 in trunk branch.
Let marking speed depend on the actual incremental write barrier count.
[email protected]
BUG=
Please review this at https://codereview.chromium.org/11464022/
SVN Base: https://v8.googlecode.com/svn/trunk
Affected files:
M src/incremental-marking.cc
M src/version.cc
Index: src/incremental-marking.cc
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
index
ef7dbe05ffa673841c76e4237338f8f2e81990a0..1457ee3094594af05e646c7f67a6dc8a3a91d83d
100644
--- a/src/incremental-marking.cc
+++ b/src/incremental-marking.cc
@@ -881,7 +881,7 @@ void IncrementalMarking::Step(intptr_t allocated_bytes,
// allocation), so to reduce the lumpiness we don't use the write
barriers
// invoked since last step directly to determine the amount of work to
do.
intptr_t bytes_to_process =
- marking_speed_ * Max(allocated_,
write_barriers_invoked_since_last_step_);
+ marking_speed_ * Max(allocated_, kWriteBarriersInvokedThreshold);
allocated_ = 0;
write_barriers_invoked_since_last_step_ = 0;
Index: src/version.cc
diff --git a/src/version.cc b/src/version.cc
index
afa9345e64ebea9c24edbe963bcd281babaf6687..6041924938aa65c5cb6ab366773b198428863655
100644
--- a/src/version.cc
+++ b/src/version.cc
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 15
#define BUILD_NUMBER 10
-#define PATCH_LEVEL 0
+#define PATCH_LEVEL 1
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev