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

Side by Side Diff: src/log.h

Issue 1751963003: Fix crash when --ll_prof is enabled after cb29f9c (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_profile_sourcepos
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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 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_LOG_H_ 5 #ifndef V8_LOG_H_
6 #define V8_LOG_H_ 6 #define V8_LOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // Emits a code line info start to record event 253 // Emits a code line info start to record event
254 void CodeStartLinePosInfoRecordEvent(PositionsRecorder* pos_recorder); 254 void CodeStartLinePosInfoRecordEvent(PositionsRecorder* pos_recorder);
255 // Emits a code line info finish record event. 255 // Emits a code line info finish record event.
256 // It's the callee's responsibility to dispose the parameter jit_handler_data. 256 // It's the callee's responsibility to dispose the parameter jit_handler_data.
257 void CodeEndLinePosInfoRecordEvent(AbstractCode* code, 257 void CodeEndLinePosInfoRecordEvent(AbstractCode* code,
258 void* jit_handler_data); 258 void* jit_handler_data);
259 259
260 void SharedFunctionInfoMoveEvent(Address from, Address to); 260 void SharedFunctionInfoMoveEvent(Address from, Address to);
261 261
262 void CodeNameEvent(Address addr, int pos, const char* code_name); 262 void CodeNameEvent(Address addr, int pos, const char* code_name);
263 void SnapshotPositionEvent(Address addr, int pos); 263 void SnapshotPositionEvent(HeapObject* obj, int pos);
264 264
265 // ==== Events logged by --log-gc. ==== 265 // ==== Events logged by --log-gc. ====
266 // Heap sampling events: start, end, and individual types. 266 // Heap sampling events: start, end, and individual types.
267 void HeapSampleBeginEvent(const char* space, const char* kind); 267 void HeapSampleBeginEvent(const char* space, const char* kind);
268 void HeapSampleEndEvent(const char* space, const char* kind); 268 void HeapSampleEndEvent(const char* space, const char* kind);
269 void HeapSampleItemEvent(const char* type, int number, int bytes); 269 void HeapSampleItemEvent(const char* type, int number, int bytes);
270 void HeapSampleJSConstructorEvent(const char* constructor, 270 void HeapSampleJSConstructorEvent(const char* constructor,
271 int number, int bytes); 271 int number, int bytes);
272 void HeapSampleJSRetainersEvent(const char* constructor, 272 void HeapSampleJSRetainersEvent(const char* constructor,
273 const char* event); 273 const char* event);
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 524
525 NameBuffer* name_buffer_; 525 NameBuffer* name_buffer_;
526 }; 526 };
527 527
528 528
529 } // namespace internal 529 } // namespace internal
530 } // namespace v8 530 } // namespace v8
531 531
532 532
533 #endif // V8_LOG_H_ 533 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698