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

Side by Side Diff: src/heap.h

Issue 3177013: Backport http://code.google.com/p/v8/source/detail?r=5261 to 2.2. (Closed) Base URL: http://v8.googlecode.com/svn/branches/2.2/
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « src/api.cc ('k') | 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 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 int* lo_space_size; // 13 1340 int* lo_space_size; // 13
1341 int* global_handle_count; // 14 1341 int* global_handle_count; // 14
1342 int* weak_global_handle_count; // 15 1342 int* weak_global_handle_count; // 15
1343 int* pending_global_handle_count; // 16 1343 int* pending_global_handle_count; // 16
1344 int* near_death_global_handle_count; // 17 1344 int* near_death_global_handle_count; // 17
1345 int* destroyed_global_handle_count; // 18 1345 int* destroyed_global_handle_count; // 18
1346 int* memory_allocator_size; // 19 1346 int* memory_allocator_size; // 19
1347 int* memory_allocator_capacity; // 20 1347 int* memory_allocator_capacity; // 20
1348 int* objects_per_type; // 21 1348 int* objects_per_type; // 21
1349 int* size_per_type; // 22 1349 int* size_per_type; // 22
1350 int* end_marker; // 23 1350 int* os_error; // 23
1351 int* end_marker; // 24
1351 }; 1352 };
1352 1353
1353 1354
1354 class AlwaysAllocateScope { 1355 class AlwaysAllocateScope {
1355 public: 1356 public:
1356 AlwaysAllocateScope() { 1357 AlwaysAllocateScope() {
1357 // We shouldn't hit any nested scopes, because that requires 1358 // We shouldn't hit any nested scopes, because that requires
1358 // non-handle code to call handle code. The code still works but 1359 // non-handle code to call handle code. The code still works but
1359 // performance will degrade, so we want to catch this situation 1360 // performance will degrade, so we want to catch this situation
1360 // in debug mode. 1361 // in debug mode.
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1978 1979
1979 // To speed up scavenge collections new space string are kept 1980 // To speed up scavenge collections new space string are kept
1980 // separate from old space strings. 1981 // separate from old space strings.
1981 static List<Object*> new_space_strings_; 1982 static List<Object*> new_space_strings_;
1982 static List<Object*> old_space_strings_; 1983 static List<Object*> old_space_strings_;
1983 }; 1984 };
1984 1985
1985 } } // namespace v8::internal 1986 } } // namespace v8::internal
1986 1987
1987 #endif // V8_HEAP_H_ 1988 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698