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

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

Issue 1425143002: Remove the remaining parts of background idle notification. (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 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 1794
1795 GCIdleTimeHeapState ComputeHeapState(); 1795 GCIdleTimeHeapState ComputeHeapState();
1796 1796
1797 bool PerformIdleTimeAction(GCIdleTimeAction action, 1797 bool PerformIdleTimeAction(GCIdleTimeAction action,
1798 GCIdleTimeHeapState heap_state, 1798 GCIdleTimeHeapState heap_state,
1799 double deadline_in_ms); 1799 double deadline_in_ms);
1800 1800
1801 void IdleNotificationEpilogue(GCIdleTimeAction action, 1801 void IdleNotificationEpilogue(GCIdleTimeAction action,
1802 GCIdleTimeHeapState heap_state, double start_ms, 1802 GCIdleTimeHeapState heap_state, double start_ms,
1803 double deadline_in_ms); 1803 double deadline_in_ms);
1804 void CheckBackgroundIdleNotification(double idle_time_in_ms, double now_ms);
1805 1804
1806 inline void UpdateAllocationsHash(HeapObject* object); 1805 inline void UpdateAllocationsHash(HeapObject* object);
1807 inline void UpdateAllocationsHash(uint32_t value); 1806 inline void UpdateAllocationsHash(uint32_t value);
1808 void PrintAlloctionsHash(); 1807 void PrintAlloctionsHash();
1809 1808
1810 void AddToRingBuffer(const char* string); 1809 void AddToRingBuffer(const char* string);
1811 void GetFromRingBuffer(char* buffer); 1810 void GetFromRingBuffer(char* buffer);
1812 1811
1813 // Attempt to over-approximate the weak closure by marking object groups and 1812 // Attempt to over-approximate the weak closure by marking object groups and
1814 // implicit references from global handles, but don't atomically complete 1813 // implicit references from global handles, but don't atomically complete
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
2728 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2727 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2729 2728
2730 private: 2729 private:
2731 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2730 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2732 }; 2731 };
2733 #endif // DEBUG 2732 #endif // DEBUG
2734 } // namespace internal 2733 } // namespace internal
2735 } // namespace v8 2734 } // namespace v8
2736 2735
2737 #endif // V8_HEAP_HEAP_H_ 2736 #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