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

Side by Side Diff: src/profile-generator.h

Issue 6815029: Merge (7180:7265] from bleeding_edge to the experimental/gc branch.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/platform-posix.cc ('k') | src/profile-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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 HeapEntry* parent, 1027 HeapEntry* parent,
1028 String* reference_name, 1028 String* reference_name,
1029 Object* child); 1029 Object* child);
1030 void SetElementReference(HeapObject* parent_obj, 1030 void SetElementReference(HeapObject* parent_obj,
1031 HeapEntry* parent, 1031 HeapEntry* parent,
1032 int index, 1032 int index,
1033 Object* child); 1033 Object* child);
1034 void SetInternalReference(HeapObject* parent_obj, 1034 void SetInternalReference(HeapObject* parent_obj,
1035 HeapEntry* parent, 1035 HeapEntry* parent,
1036 const char* reference_name, 1036 const char* reference_name,
1037 Object* child); 1037 Object* child,
1038 int field_offset = -1);
1038 void SetInternalReference(HeapObject* parent_obj, 1039 void SetInternalReference(HeapObject* parent_obj,
1039 HeapEntry* parent, 1040 HeapEntry* parent,
1040 int index, 1041 int index,
1041 Object* child); 1042 Object* child,
1043 int field_offset = -1);
1042 void SetHiddenReference(HeapObject* parent_obj, 1044 void SetHiddenReference(HeapObject* parent_obj,
1043 HeapEntry* parent, 1045 HeapEntry* parent,
1044 int index, 1046 int index,
1045 Object* child); 1047 Object* child);
1046 void SetPropertyReference(HeapObject* parent_obj, 1048 void SetPropertyReference(HeapObject* parent_obj,
1047 HeapEntry* parent, 1049 HeapEntry* parent,
1048 String* reference_name, 1050 String* reference_name,
1049 Object* child); 1051 Object* child,
1052 int field_offset = -1);
1050 void SetPropertyShortcutReference(HeapObject* parent_obj, 1053 void SetPropertyShortcutReference(HeapObject* parent_obj,
1051 HeapEntry* parent, 1054 HeapEntry* parent,
1052 String* reference_name, 1055 String* reference_name,
1053 Object* child); 1056 Object* child);
1054 void SetRootShortcutReference(Object* child); 1057 void SetRootShortcutReference(Object* child);
1055 void SetRootGcRootsReference(); 1058 void SetRootGcRootsReference();
1056 void SetGcRootsReference(Object* child); 1059 void SetGcRootsReference(Object* child);
1057 1060
1058 HeapEntry* GetEntry(Object* obj); 1061 HeapEntry* GetEntry(Object* obj);
1059 1062
1060 HeapSnapshot* snapshot_; 1063 HeapSnapshot* snapshot_;
1061 HeapSnapshotsCollection* collection_; 1064 HeapSnapshotsCollection* collection_;
1062 SnapshottingProgressReportingInterface* progress_; 1065 SnapshottingProgressReportingInterface* progress_;
1063 // Used during references extraction to mark heap objects that
1064 // are references via non-hidden properties.
1065 HeapObjectsSet known_references_;
1066 SnapshotFillerInterface* filler_; 1066 SnapshotFillerInterface* filler_;
1067 1067
1068 static HeapObject* const kGcRootsObject; 1068 static HeapObject* const kGcRootsObject;
1069 1069
1070 friend class IndexedReferencesExtractor; 1070 friend class IndexedReferencesExtractor;
1071 friend class RootsReferencesExtractor; 1071 friend class RootsReferencesExtractor;
1072 1072
1073 DISALLOW_COPY_AND_ASSIGN(V8HeapExplorer); 1073 DISALLOW_COPY_AND_ASSIGN(V8HeapExplorer);
1074 }; 1074 };
1075 1075
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1203 }; 1203 };
1204 1204
1205 1205
1206 String* GetConstructorNameForHeapProfile(JSObject* object); 1206 String* GetConstructorNameForHeapProfile(JSObject* object);
1207 1207
1208 } } // namespace v8::internal 1208 } } // namespace v8::internal
1209 1209
1210 #endif // ENABLE_LOGGING_AND_PROFILING 1210 #endif // ENABLE_LOGGING_AND_PROFILING
1211 1211
1212 #endif // V8_PROFILE_GENERATOR_H_ 1212 #endif // V8_PROFILE_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/platform-posix.cc ('k') | src/profile-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698