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

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

Issue 1846963002: Use a dictionary-mode code cache on the map rather than a dual system. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comment Created 4 years, 8 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 | « src/ppc/code-stubs-ppc.cc ('k') | src/profiler/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 // 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_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ 5 #ifndef V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_
6 #define V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ 6 #define V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_
7 7
8 #include "include/v8-profiler.h" 8 #include "include/v8-profiler.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 void ExtractJSCollectionReferences(int entry, JSCollection* collection); 375 void ExtractJSCollectionReferences(int entry, JSCollection* collection);
376 void ExtractJSWeakCollectionReferences(int entry, 376 void ExtractJSWeakCollectionReferences(int entry,
377 JSWeakCollection* collection); 377 JSWeakCollection* collection);
378 void ExtractContextReferences(int entry, Context* context); 378 void ExtractContextReferences(int entry, Context* context);
379 void ExtractMapReferences(int entry, Map* map); 379 void ExtractMapReferences(int entry, Map* map);
380 void ExtractSharedFunctionInfoReferences(int entry, 380 void ExtractSharedFunctionInfoReferences(int entry,
381 SharedFunctionInfo* shared); 381 SharedFunctionInfo* shared);
382 void ExtractScriptReferences(int entry, Script* script); 382 void ExtractScriptReferences(int entry, Script* script);
383 void ExtractAccessorInfoReferences(int entry, AccessorInfo* accessor_info); 383 void ExtractAccessorInfoReferences(int entry, AccessorInfo* accessor_info);
384 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); 384 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors);
385 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache);
386 void ExtractCodeReferences(int entry, Code* code); 385 void ExtractCodeReferences(int entry, Code* code);
387 void ExtractBoxReferences(int entry, Box* box); 386 void ExtractBoxReferences(int entry, Box* box);
388 void ExtractCellReferences(int entry, Cell* cell); 387 void ExtractCellReferences(int entry, Cell* cell);
389 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); 388 void ExtractPropertyCellReferences(int entry, PropertyCell* cell);
390 void ExtractAllocationSiteReferences(int entry, AllocationSite* site); 389 void ExtractAllocationSiteReferences(int entry, AllocationSite* site);
391 void ExtractJSArrayBufferReferences(int entry, JSArrayBuffer* buffer); 390 void ExtractJSArrayBufferReferences(int entry, JSArrayBuffer* buffer);
392 void ExtractFixedArrayReferences(int entry, FixedArray* array); 391 void ExtractFixedArrayReferences(int entry, FixedArray* array);
393 void ExtractPropertyReferences(JSObject* js_obj, int entry); 392 void ExtractPropertyReferences(JSObject* js_obj, int entry);
394 void ExtractAccessorPairProperty(JSObject* js_obj, int entry, Name* key, 393 void ExtractAccessorPairProperty(JSObject* js_obj, int entry, Name* key,
395 Object* callback_obj, int field_offset = -1); 394 Object* callback_obj, int field_offset = -1);
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 friend class HeapSnapshotJSONSerializerIterator; 618 friend class HeapSnapshotJSONSerializerIterator;
620 619
621 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 620 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
622 }; 621 };
623 622
624 623
625 } // namespace internal 624 } // namespace internal
626 } // namespace v8 625 } // namespace v8
627 626
628 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ 627 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/profiler/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698