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

Side by Side Diff: src/log.h

Issue 3763012: CPU Profiler: postpone moved functions registration until GC completes. (Closed)
Patch Set: Created 10 years, 2 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 static void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count); 212 static void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count);
213 static void CodeMovingGCEvent(); 213 static void CodeMovingGCEvent();
214 // Emits a code create event for a RegExp. 214 // Emits a code create event for a RegExp.
215 static void RegExpCodeCreateEvent(Code* code, String* source); 215 static void RegExpCodeCreateEvent(Code* code, String* source);
216 // Emits a code move event. 216 // Emits a code move event.
217 static void CodeMoveEvent(Address from, Address to); 217 static void CodeMoveEvent(Address from, Address to);
218 // Emits a code delete event. 218 // Emits a code delete event.
219 static void CodeDeleteEvent(Address from); 219 static void CodeDeleteEvent(Address from);
220 // Emits a function object create event. 220 // Emits a function object create event.
221 static void FunctionCreateEvent(JSFunction* function); 221 static void FunctionCreateEvent(JSFunction* function);
222 static void FunctionCreateEventFromMove(JSFunction* function, 222 static void FunctionCreateEventFromMove(JSFunction* function);
223 HeapObject*);
224 // Emits a function move event. 223 // Emits a function move event.
225 static void FunctionMoveEvent(Address from, Address to); 224 static void FunctionMoveEvent(Address from, Address to);
226 // Emits a function delete event. 225 // Emits a function delete event.
227 static void FunctionDeleteEvent(Address from); 226 static void FunctionDeleteEvent(Address from);
228 227
229 static void SnapshotPositionEvent(Address addr, int pos); 228 static void SnapshotPositionEvent(Address addr, int pos);
230 229
231 // ==== Events logged by --log-gc. ==== 230 // ==== Events logged by --log-gc. ====
232 // Heap sampling events: start, end, and individual types. 231 // Heap sampling events: start, end, and individual types.
233 static void HeapSampleBeginEvent(const char* space, const char* kind); 232 static void HeapSampleBeginEvent(const char* space, const char* kind);
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 // Class that extracts stack trace, used for profiling. 386 // Class that extracts stack trace, used for profiling.
388 class StackTracer : public AllStatic { 387 class StackTracer : public AllStatic {
389 public: 388 public:
390 static void Trace(TickSample* sample); 389 static void Trace(TickSample* sample);
391 }; 390 };
392 391
393 } } // namespace v8::internal 392 } } // namespace v8::internal
394 393
395 394
396 #endif // V8_LOG_H_ 395 #endif // V8_LOG_H_
OLDNEW
« src/cpu-profiler.cc ('K') | « src/heap.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698