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

Side by Side Diff: src/heap/gc-idle-time-handler.h

Issue 521873006: Trace idle notification. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months 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 | Annotate | Revision Log
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/gc-idle-time-handler.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_GC_IDLE_TIME_HANDLER_H_ 5 #ifndef V8_HEAP_GC_IDLE_TIME_HANDLER_H_
6 #define V8_HEAP_GC_IDLE_TIME_HANDLER_H_ 6 #define V8_HEAP_GC_IDLE_TIME_HANDLER_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 return result; 49 return result;
50 } 50 }
51 51
52 static GCIdleTimeAction FinalizeSweeping() { 52 static GCIdleTimeAction FinalizeSweeping() {
53 GCIdleTimeAction result; 53 GCIdleTimeAction result;
54 result.type = DO_FINALIZE_SWEEPING; 54 result.type = DO_FINALIZE_SWEEPING;
55 result.parameter = 0; 55 result.parameter = 0;
56 return result; 56 return result;
57 } 57 }
58 58
59 void Print();
60
59 GCIdleTimeActionType type; 61 GCIdleTimeActionType type;
60 intptr_t parameter; 62 intptr_t parameter;
61 }; 63 };
62 64
63 65
64 class GCTracer; 66 class GCTracer;
65 67
66 // The idle time handler makes decisions about which garbage collection 68 // The idle time handler makes decisions about which garbage collection
67 // operations are executing during IdleNotification. 69 // operations are executing during IdleNotification.
68 class GCIdleTimeHandler { 70 class GCIdleTimeHandler {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 int mark_compacts_since_idle_round_started_; 145 int mark_compacts_since_idle_round_started_;
144 int scavenges_since_last_idle_round_; 146 int scavenges_since_last_idle_round_;
145 147
146 DISALLOW_COPY_AND_ASSIGN(GCIdleTimeHandler); 148 DISALLOW_COPY_AND_ASSIGN(GCIdleTimeHandler);
147 }; 149 };
148 150
149 } // namespace internal 151 } // namespace internal
150 } // namespace v8 152 } // namespace v8
151 153
152 #endif // V8_HEAP_GC_IDLE_TIME_HANDLER_H_ 154 #endif // V8_HEAP_GC_IDLE_TIME_HANDLER_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/gc-idle-time-handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698