| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 6b0236330f9c96185fa8d3cf8c61d379b8f081a2..78ed21abef97d4aae5e0ebf0bb2edb08df923916 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -475,41 +475,6 @@ class ExternalStringTable {
|
| };
|
|
|
|
|
| -// The stack property of an error object is implemented as a getter that
|
| -// formats the attached raw stack trace into a string. This raw stack trace
|
| -// keeps code and function objects alive until the getter is called the first
|
| -// time. To release those objects, we call the getter after each GC for
|
| -// newly tenured error objects that are kept in a list.
|
| -class ErrorObjectList {
|
| - public:
|
| - inline void Add(JSObject* object);
|
| -
|
| - inline void Iterate(ObjectVisitor* v);
|
| -
|
| - void TearDown();
|
| -
|
| - void RemoveUnmarked(Heap* heap);
|
| -
|
| - void DeferredFormatStackTrace(Isolate* isolate);
|
| -
|
| - void UpdateReferences();
|
| -
|
| - void UpdateReferencesInNewSpace(Heap* heap);
|
| -
|
| - private:
|
| - static const int kBudgetPerGC = 16;
|
| -
|
| - ErrorObjectList() : nested_(false) { }
|
| -
|
| - friend class Heap;
|
| -
|
| - List<Object*> list_;
|
| - bool nested_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(ErrorObjectList);
|
| -};
|
| -
|
| -
|
| enum ArrayStorageAllocationMode {
|
| DONT_INITIALIZE_ARRAY_ELEMENTS,
|
| INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE
|
| @@ -1798,10 +1763,6 @@ class Heap {
|
| return &external_string_table_;
|
| }
|
|
|
| - ErrorObjectList* error_object_list() {
|
| - return &error_object_list_;
|
| - }
|
| -
|
| // Returns the current sweep generation.
|
| int sweep_generation() {
|
| return sweep_generation_;
|
| @@ -2406,8 +2367,6 @@ class Heap {
|
|
|
| ExternalStringTable external_string_table_;
|
|
|
| - ErrorObjectList error_object_list_;
|
| -
|
| VisitorDispatchTable<ScavengingCallback> scavenging_visitors_table_;
|
|
|
| MemoryChunk* chunks_queued_for_free_;
|
|
|