Reviewers: Hannes Payer,
Message:
~=[,,_,,]:3
Description:
[heap] Remove unflattened_string_length
BUG=
Please review this at https://codereview.chromium.org/1303443005/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+0, -5 lines):
M src/heap/heap.h
M src/heap/heap.cc
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index
6e6da98d31e2842f202bd0c74132b77323c065b1..64f2823d4041d79713cd0045bb579d34162924c4
100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -89,7 +89,6 @@ Heap::Heap()
ms_count_(0),
gc_count_(0),
remembered_unmapped_pages_index_(0),
- unflattened_strings_length_(0),
#ifdef DEBUG
allocation_timeout_(0),
#endif // DEBUG
@@ -402,7 +401,6 @@ void Heap::GarbageCollectionPrologue() {
{
AllowHeapAllocation for_the_first_part_of_prologue;
gc_count_++;
- unflattened_strings_length_ = 0;
if (FLAG_flush_code) {
mark_compact_collector()->EnableCodeFlushing(true);
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index
4b26b6c5169a59ca6dfc61ea63f86a4795b3d543..7d7e1434655312cc90de91885c106651a0bff933
100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -1746,9 +1746,6 @@ class Heap {
int remembered_unmapped_pages_index_;
Address remembered_unmapped_pages_[kRememberedUnmappedPages];
- // Total length of the strings we failed to flatten since the last GC.
- int unflattened_strings_length_;
-
#define ROOT_ACCESSOR(type, name, camel_name) \
inline void set_##name(type* value);
ROOT_LIST(ROOT_ACCESSOR)
--
--
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/d/optout.