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

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

Issue 143343006: Add Box object to heap profiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added a test. Created 6 years, 10 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') | test/cctest/test-heap-profiler.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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 void ExtractJSObjectReferences(int entry, JSObject* js_obj); 403 void ExtractJSObjectReferences(int entry, JSObject* js_obj);
404 void ExtractStringReferences(int entry, String* obj); 404 void ExtractStringReferences(int entry, String* obj);
405 void ExtractContextReferences(int entry, Context* context); 405 void ExtractContextReferences(int entry, Context* context);
406 void ExtractMapReferences(int entry, Map* map); 406 void ExtractMapReferences(int entry, Map* map);
407 void ExtractSharedFunctionInfoReferences(int entry, 407 void ExtractSharedFunctionInfoReferences(int entry,
408 SharedFunctionInfo* shared); 408 SharedFunctionInfo* shared);
409 void ExtractScriptReferences(int entry, Script* script); 409 void ExtractScriptReferences(int entry, Script* script);
410 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); 410 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors);
411 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); 411 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache);
412 void ExtractCodeReferences(int entry, Code* code); 412 void ExtractCodeReferences(int entry, Code* code);
413 void ExtractBoxReferences(int entry, Box* box);
413 void ExtractCellReferences(int entry, Cell* cell); 414 void ExtractCellReferences(int entry, Cell* cell);
414 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); 415 void ExtractPropertyCellReferences(int entry, PropertyCell* cell);
415 void ExtractAllocationSiteReferences(int entry, AllocationSite* site); 416 void ExtractAllocationSiteReferences(int entry, AllocationSite* site);
416 void ExtractClosureReferences(JSObject* js_obj, int entry); 417 void ExtractClosureReferences(JSObject* js_obj, int entry);
417 void ExtractPropertyReferences(JSObject* js_obj, int entry); 418 void ExtractPropertyReferences(JSObject* js_obj, int entry);
418 bool ExtractAccessorPairProperty(JSObject* js_obj, int entry, 419 bool ExtractAccessorPairProperty(JSObject* js_obj, int entry,
419 Object* key, Object* callback_obj); 420 Object* key, Object* callback_obj);
420 void ExtractElementReferences(JSObject* js_obj, int entry); 421 void ExtractElementReferences(JSObject* js_obj, int entry);
421 void ExtractInternalReferences(JSObject* js_obj, int entry); 422 void ExtractInternalReferences(JSObject* js_obj, int entry);
422 bool IsEssentialObject(Object* object); 423 bool IsEssentialObject(Object* object);
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 friend class HeapSnapshotJSONSerializerEnumerator; 636 friend class HeapSnapshotJSONSerializerEnumerator;
636 friend class HeapSnapshotJSONSerializerIterator; 637 friend class HeapSnapshotJSONSerializerIterator;
637 638
638 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 639 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
639 }; 640 };
640 641
641 642
642 } } // namespace v8::internal 643 } } // namespace v8::internal
643 644
644 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ 645 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap-snapshot-generator.cc » ('j') | test/cctest/test-heap-profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698