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

Side by Side Diff: src/log.h

Issue 6683022: [Isolates] Merge 7111:7152 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 9 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/lithium-allocator.cc ('k') | src/log.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 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } while (false) 87 } while (false)
88 #else 88 #else
89 #define LOG(Call) ((void) 0) 89 #define LOG(Call) ((void) 0)
90 #endif 90 #endif
91 91
92 #define LOG_EVENTS_AND_TAGS_LIST(V) \ 92 #define LOG_EVENTS_AND_TAGS_LIST(V) \
93 V(CODE_CREATION_EVENT, "code-creation") \ 93 V(CODE_CREATION_EVENT, "code-creation") \
94 V(CODE_MOVE_EVENT, "code-move") \ 94 V(CODE_MOVE_EVENT, "code-move") \
95 V(CODE_DELETE_EVENT, "code-delete") \ 95 V(CODE_DELETE_EVENT, "code-delete") \
96 V(CODE_MOVING_GC, "code-moving-gc") \ 96 V(CODE_MOVING_GC, "code-moving-gc") \
97 V(SFI_MOVE_EVENT, "sfi-move") \ 97 V(SHARED_FUNC_MOVE_EVENT, "sfi-move") \
98 V(SNAPSHOT_POSITION_EVENT, "snapshot-pos") \ 98 V(SNAPSHOT_POSITION_EVENT, "snapshot-pos") \
99 V(TICK_EVENT, "tick") \ 99 V(TICK_EVENT, "tick") \
100 V(REPEAT_META_EVENT, "repeat") \ 100 V(REPEAT_META_EVENT, "repeat") \
101 V(BUILTIN_TAG, "Builtin") \ 101 V(BUILTIN_TAG, "Builtin") \
102 V(CALL_DEBUG_BREAK_TAG, "CallDebugBreak") \ 102 V(CALL_DEBUG_BREAK_TAG, "CallDebugBreak") \
103 V(CALL_DEBUG_PREPARE_STEP_IN_TAG, "CallDebugPrepareStepIn") \ 103 V(CALL_DEBUG_PREPARE_STEP_IN_TAG, "CallDebugPrepareStepIn") \
104 V(CALL_IC_TAG, "CallIC") \ 104 V(CALL_IC_TAG, "CallIC") \
105 V(CALL_INITIALIZE_TAG, "CallInitialize") \ 105 V(CALL_INITIALIZE_TAG, "CallInitialize") \
106 V(CALL_MEGAMORPHIC_TAG, "CallMegamorphic") \ 106 V(CALL_MEGAMORPHIC_TAG, "CallMegamorphic") \
107 V(CALL_MISS_TAG, "CallMiss") \ 107 V(CALL_MISS_TAG, "CallMiss") \
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 String* source, int line); 228 String* source, int line);
229 void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count); 229 void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count);
230 void CodeMovingGCEvent(); 230 void CodeMovingGCEvent();
231 // Emits a code create event for a RegExp. 231 // Emits a code create event for a RegExp.
232 void RegExpCodeCreateEvent(Code* code, String* source); 232 void RegExpCodeCreateEvent(Code* code, String* source);
233 // Emits a code move event. 233 // Emits a code move event.
234 void CodeMoveEvent(Address from, Address to); 234 void CodeMoveEvent(Address from, Address to);
235 // Emits a code delete event. 235 // Emits a code delete event.
236 void CodeDeleteEvent(Address from); 236 void CodeDeleteEvent(Address from);
237 237
238 void SFIMoveEvent(Address from, Address to); 238 void SharedFunctionInfoMoveEvent(Address from, Address to);
239 239
240 void SnapshotPositionEvent(Address addr, int pos); 240 void SnapshotPositionEvent(Address addr, int pos);
241 241
242 // ==== Events logged by --log-gc. ==== 242 // ==== Events logged by --log-gc. ====
243 // Heap sampling events: start, end, and individual types. 243 // Heap sampling events: start, end, and individual types.
244 void HeapSampleBeginEvent(const char* space, const char* kind); 244 void HeapSampleBeginEvent(const char* space, const char* kind);
245 void HeapSampleEndEvent(const char* space, const char* kind); 245 void HeapSampleEndEvent(const char* space, const char* kind);
246 void HeapSampleItemEvent(const char* type, int number, int bytes); 246 void HeapSampleItemEvent(const char* type, int number, int bytes);
247 void HeapSampleJSConstructorEvent(const char* constructor, 247 void HeapSampleJSConstructorEvent(const char* constructor,
248 int number, int bytes); 248 int number, int bytes);
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 // Class that extracts stack trace, used for profiling. 438 // Class that extracts stack trace, used for profiling.
439 class StackTracer : public AllStatic { 439 class StackTracer : public AllStatic {
440 public: 440 public:
441 static void Trace(Isolate* isolate, TickSample* sample); 441 static void Trace(Isolate* isolate, TickSample* sample);
442 }; 442 };
443 443
444 } } // namespace v8::internal 444 } } // namespace v8::internal
445 445
446 446
447 #endif // V8_LOG_H_ 447 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698