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

Side by Side Diff: src/heap.h

Issue 3119023: Various improvements to oom_dump and instance type lists. (Closed)
Patch Set: Addressing Mark's comments Created 10 years, 4 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 | « no previous file | src/heap.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 1316
1317 friend class Factory; 1317 friend class Factory;
1318 friend class DisallowAllocationFailure; 1318 friend class DisallowAllocationFailure;
1319 friend class AlwaysAllocateScope; 1319 friend class AlwaysAllocateScope;
1320 friend class LinearAllocationScope; 1320 friend class LinearAllocationScope;
1321 }; 1321 };
1322 1322
1323 1323
1324 class HeapStats { 1324 class HeapStats {
1325 public: 1325 public:
1326 static const int kStartMarker = 0xDECADE00;
1327 static const int kEndMarker = 0xDECADE01;
1328
1326 int* start_marker; // 0 1329 int* start_marker; // 0
1327 int* new_space_size; // 1 1330 int* new_space_size; // 1
1328 int* new_space_capacity; // 2 1331 int* new_space_capacity; // 2
1329 int* old_pointer_space_size; // 3 1332 int* old_pointer_space_size; // 3
1330 int* old_pointer_space_capacity; // 4 1333 int* old_pointer_space_capacity; // 4
1331 int* old_data_space_size; // 5 1334 int* old_data_space_size; // 5
1332 int* old_data_space_capacity; // 6 1335 int* old_data_space_capacity; // 6
1333 int* code_space_size; // 7 1336 int* code_space_size; // 7
1334 int* code_space_capacity; // 8 1337 int* code_space_capacity; // 8
1335 int* map_space_size; // 9 1338 int* map_space_size; // 9
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1980 1983
1981 // To speed up scavenge collections new space string are kept 1984 // To speed up scavenge collections new space string are kept
1982 // separate from old space strings. 1985 // separate from old space strings.
1983 static List<Object*> new_space_strings_; 1986 static List<Object*> new_space_strings_;
1984 static List<Object*> old_space_strings_; 1987 static List<Object*> old_space_strings_;
1985 }; 1988 };
1986 1989
1987 } } // namespace v8::internal 1990 } } // namespace v8::internal
1988 1991
1989 #endif // V8_HEAP_H_ 1992 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698