Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: src/heap/heap.h

Issue 1420363004: Remove special handling of background idle notification in memory reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1781 1781
1782 GCIdleTimeHeapState ComputeHeapState(); 1782 GCIdleTimeHeapState ComputeHeapState();
1783 1783
1784 bool PerformIdleTimeAction(GCIdleTimeAction action, 1784 bool PerformIdleTimeAction(GCIdleTimeAction action,
1785 GCIdleTimeHeapState heap_state, 1785 GCIdleTimeHeapState heap_state,
1786 double deadline_in_ms); 1786 double deadline_in_ms);
1787 1787
1788 void IdleNotificationEpilogue(GCIdleTimeAction action, 1788 void IdleNotificationEpilogue(GCIdleTimeAction action,
1789 GCIdleTimeHeapState heap_state, double start_ms, 1789 GCIdleTimeHeapState heap_state, double start_ms,
1790 double deadline_in_ms); 1790 double deadline_in_ms);
1791 void CheckAndNotifyBackgroundIdleNotification(double idle_time_in_ms, 1791 void CheckBackgroundIdleNotification(double idle_time_in_ms, double now_ms);
1792 double now_ms);
1793 1792
1794 inline void UpdateAllocationsHash(HeapObject* object); 1793 inline void UpdateAllocationsHash(HeapObject* object);
1795 inline void UpdateAllocationsHash(uint32_t value); 1794 inline void UpdateAllocationsHash(uint32_t value);
1796 void PrintAlloctionsHash(); 1795 void PrintAlloctionsHash();
1797 1796
1798 void AddToRingBuffer(const char* string); 1797 void AddToRingBuffer(const char* string);
1799 void GetFromRingBuffer(char* buffer); 1798 void GetFromRingBuffer(char* buffer);
1800 1799
1801 // Attempt to over-approximate the weak closure by marking object groups and 1800 // Attempt to over-approximate the weak closure by marking object groups and
1802 // implicit references from global handles, but don't atomically complete 1801 // implicit references from global handles, but don't atomically complete
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
2716 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2715 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2717 2716
2718 private: 2717 private:
2719 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2718 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2720 }; 2719 };
2721 #endif // DEBUG 2720 #endif // DEBUG
2722 } // namespace internal 2721 } // namespace internal
2723 } // namespace v8 2722 } // namespace v8
2724 2723
2725 #endif // V8_HEAP_HEAP_H_ 2724 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698