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

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

Issue 17616002: Handle AccessorPair struct in heap snapshot. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing comments. Created 7 years, 6 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') | no next file with comments »
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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 455
456 void ExtractReferences(HeapObject* obj); 456 void ExtractReferences(HeapObject* obj);
457 void ExtractJSGlobalProxyReferences(JSGlobalProxy* proxy); 457 void ExtractJSGlobalProxyReferences(JSGlobalProxy* proxy);
458 void ExtractJSObjectReferences(int entry, JSObject* js_obj); 458 void ExtractJSObjectReferences(int entry, JSObject* js_obj);
459 void ExtractStringReferences(int entry, String* obj); 459 void ExtractStringReferences(int entry, String* obj);
460 void ExtractContextReferences(int entry, Context* context); 460 void ExtractContextReferences(int entry, Context* context);
461 void ExtractMapReferences(int entry, Map* map); 461 void ExtractMapReferences(int entry, Map* map);
462 void ExtractSharedFunctionInfoReferences(int entry, 462 void ExtractSharedFunctionInfoReferences(int entry,
463 SharedFunctionInfo* shared); 463 SharedFunctionInfo* shared);
464 void ExtractScriptReferences(int entry, Script* script); 464 void ExtractScriptReferences(int entry, Script* script);
465 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors);
465 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); 466 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache);
466 void ExtractCodeReferences(int entry, Code* code); 467 void ExtractCodeReferences(int entry, Code* code);
467 void ExtractCellReferences(int entry, Cell* cell); 468 void ExtractCellReferences(int entry, Cell* cell);
468 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); 469 void ExtractPropertyCellReferences(int entry, PropertyCell* cell);
469 void ExtractClosureReferences(JSObject* js_obj, int entry); 470 void ExtractClosureReferences(JSObject* js_obj, int entry);
470 void ExtractPropertyReferences(JSObject* js_obj, int entry); 471 void ExtractPropertyReferences(JSObject* js_obj, int entry);
472 bool ExtractAccessorPairProperty(JSObject* js_obj, int entry,
473 Object* key, Object* callback_obj);
471 void ExtractElementReferences(JSObject* js_obj, int entry); 474 void ExtractElementReferences(JSObject* js_obj, int entry);
472 void ExtractInternalReferences(JSObject* js_obj, int entry); 475 void ExtractInternalReferences(JSObject* js_obj, int entry);
473 bool IsEssentialObject(Object* object); 476 bool IsEssentialObject(Object* object);
474 void SetContextReference(HeapObject* parent_obj, 477 void SetContextReference(HeapObject* parent_obj,
475 int parent, 478 int parent,
476 String* reference_name, 479 String* reference_name,
477 Object* child, 480 Object* child,
478 int field_offset); 481 int field_offset);
479 void SetNativeBindReference(HeapObject* parent_obj, 482 void SetNativeBindReference(HeapObject* parent_obj,
480 int parent, 483 int parent,
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 friend class HeapSnapshotJSONSerializerIterator; 683 friend class HeapSnapshotJSONSerializerIterator;
681 684
682 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 685 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
683 }; 686 };
684 687
685 688
686 } } // namespace v8::internal 689 } } // namespace v8::internal
687 690
688 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ 691 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_
689 692
OLDNEW
« no previous file with comments | « no previous file | src/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698