Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 9f1bfd3d01f25e1cf38ec5cf16a653427bbc20cb..15eb0820f038e1b3ac23e4f3d341cc9a540cb7b9 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -859,13 +859,6 @@ class Heap { |
void set_array_buffers_list(Object* object) { array_buffers_list_ = object; } |
Object* array_buffers_list() const { return array_buffers_list_; } |
- void set_new_array_buffer_views_list(Object* object) { |
- new_array_buffer_views_list_ = object; |
- } |
- Object* new_array_buffer_views_list() const { |
- return new_array_buffer_views_list_; |
- } |
- |
void set_allocation_sites_list(Object* object) { |
allocation_sites_list_ = object; |
} |
@@ -1453,11 +1446,6 @@ class Heap { |
bool deserialization_complete() const { return deserialization_complete_; } |
- bool promotion_failure() const { return promotion_failure_; } |
- void set_promotion_failure(bool promotion_failure) { |
- promotion_failure_ = promotion_failure; |
- } |
- |
protected: |
// Methods made available to tests. |
@@ -1623,16 +1611,11 @@ class Heap { |
bool inline_allocation_disabled_; |
// Weak list heads, threaded through the objects. |
- // List heads are initialized lazily and contain the undefined_value at start. |
+ // List heads are initilized lazily and contain the undefined_value at start. |
Object* native_contexts_list_; |
Object* array_buffers_list_; |
Object* allocation_sites_list_; |
- // This is a global list of array buffer views in new space. When the views |
- // get promoted, they are removed form the list and added to the corresponding |
- // array buffer. |
- Object* new_array_buffer_views_list_; |
- |
// List of encountered weak collections (JSWeakMap and JSWeakSet) during |
// marking. It is initialized during marking, destroyed after marking and |
// contains Smi(0) while marking is not active. |
@@ -1965,8 +1948,7 @@ class Heap { |
void MarkCompactEpilogue(); |
void ProcessNativeContexts(WeakObjectRetainer* retainer); |
- void ProcessArrayBuffers(WeakObjectRetainer* retainer, bool stop_after_young); |
- void ProcessNewArrayBufferViews(WeakObjectRetainer* retainer); |
+ void ProcessArrayBuffers(WeakObjectRetainer* retainer); |
void ProcessAllocationSites(WeakObjectRetainer* retainer); |
// Deopts all code that contains allocation instruction which are tenured or |
@@ -2126,11 +2108,6 @@ class Heap { |
bool deserialization_complete_; |
- // A promotion failure indicates that old space promotion failed during |
- // gc, i.e., some objects that should have gotten promoted had to stay in |
- // the new space (they were copied to the other semi-space). |
- bool promotion_failure_; |
- |
friend class AlwaysAllocateScope; |
friend class Deserializer; |
friend class Factory; |