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

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

Issue 18584007: Bugfix: AllocationSite objects need to be walkable by the heap snapshot (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Nit fixin' Created 7 years, 5 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 void ExtractContextReferences(int entry, Context* context); 453 void ExtractContextReferences(int entry, Context* context);
454 void ExtractMapReferences(int entry, Map* map); 454 void ExtractMapReferences(int entry, Map* map);
455 void ExtractSharedFunctionInfoReferences(int entry, 455 void ExtractSharedFunctionInfoReferences(int entry,
456 SharedFunctionInfo* shared); 456 SharedFunctionInfo* shared);
457 void ExtractScriptReferences(int entry, Script* script); 457 void ExtractScriptReferences(int entry, Script* script);
458 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); 458 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors);
459 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); 459 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache);
460 void ExtractCodeReferences(int entry, Code* code); 460 void ExtractCodeReferences(int entry, Code* code);
461 void ExtractCellReferences(int entry, Cell* cell); 461 void ExtractCellReferences(int entry, Cell* cell);
462 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); 462 void ExtractPropertyCellReferences(int entry, PropertyCell* cell);
463 void ExtractAllocationSiteReferences(int entry, AllocationSite* site);
463 void ExtractClosureReferences(JSObject* js_obj, int entry); 464 void ExtractClosureReferences(JSObject* js_obj, int entry);
464 void ExtractPropertyReferences(JSObject* js_obj, int entry); 465 void ExtractPropertyReferences(JSObject* js_obj, int entry);
465 bool ExtractAccessorPairProperty(JSObject* js_obj, int entry, 466 bool ExtractAccessorPairProperty(JSObject* js_obj, int entry,
466 Object* key, Object* callback_obj); 467 Object* key, Object* callback_obj);
467 void ExtractElementReferences(JSObject* js_obj, int entry); 468 void ExtractElementReferences(JSObject* js_obj, int entry);
468 void ExtractInternalReferences(JSObject* js_obj, int entry); 469 void ExtractInternalReferences(JSObject* js_obj, int entry);
469 bool IsEssentialObject(Object* object); 470 bool IsEssentialObject(Object* object);
470 void SetContextReference(HeapObject* parent_obj, 471 void SetContextReference(HeapObject* parent_obj,
471 int parent, 472 int parent,
472 String* reference_name, 473 String* reference_name,
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 friend class HeapSnapshotJSONSerializerIterator; 678 friend class HeapSnapshotJSONSerializerIterator;
678 679
679 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 680 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
680 }; 681 };
681 682
682 683
683 } } // namespace v8::internal 684 } } // namespace v8::internal
684 685
685 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ 686 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_
686 687
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