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

Side by Side Diff: src/heap-snapshot-generator.h

Issue 145353003: Allow arbitrary names for weak references in heap snapshots. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | « no previous file | src/heap-snapshot-generator.cc » ('j') | src/heap-snapshot-generator.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 int parent, 441 int parent,
442 int index, 442 int index,
443 Object* child, 443 Object* child,
444 int field_offset = -1); 444 int field_offset = -1);
445 void SetHiddenReference(HeapObject* parent_obj, 445 void SetHiddenReference(HeapObject* parent_obj,
446 int parent, 446 int parent,
447 int index, 447 int index,
448 Object* child); 448 Object* child);
449 void SetWeakReference(HeapObject* parent_obj, 449 void SetWeakReference(HeapObject* parent_obj,
450 int parent, 450 int parent,
451 int index, 451 const char* reference_name,
452 Object* child_obj, 452 Object* child_obj,
453 int field_offset); 453 int field_offset);
454 void SetPropertyReference(HeapObject* parent_obj, 454 void SetPropertyReference(HeapObject* parent_obj,
455 int parent, 455 int parent,
456 Name* reference_name, 456 Name* reference_name,
457 Object* child, 457 Object* child,
458 const char* name_format_string = NULL, 458 const char* name_format_string = NULL,
459 int field_offset = -1); 459 int field_offset = -1);
460 void SetUserGlobalReference(Object* user_global); 460 void SetUserGlobalReference(Object* user_global);
461 void SetRootGcRootsReference(); 461 void SetRootGcRootsReference();
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 friend class HeapSnapshotJSONSerializerEnumerator; 634 friend class HeapSnapshotJSONSerializerEnumerator;
635 friend class HeapSnapshotJSONSerializerIterator; 635 friend class HeapSnapshotJSONSerializerIterator;
636 636
637 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 637 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
638 }; 638 };
639 639
640 640
641 } } // namespace v8::internal 641 } } // namespace v8::internal
642 642
643 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ 643 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap-snapshot-generator.cc » ('j') | src/heap-snapshot-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698