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

Side by Side Diff: src/heap.h

Issue 7054072: Refactor storage of global handles. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after
1626 intptr_t* code_space_capacity; // 8 1626 intptr_t* code_space_capacity; // 8
1627 intptr_t* map_space_size; // 9 1627 intptr_t* map_space_size; // 9
1628 intptr_t* map_space_capacity; // 10 1628 intptr_t* map_space_capacity; // 10
1629 intptr_t* cell_space_size; // 11 1629 intptr_t* cell_space_size; // 11
1630 intptr_t* cell_space_capacity; // 12 1630 intptr_t* cell_space_capacity; // 12
1631 intptr_t* lo_space_size; // 13 1631 intptr_t* lo_space_size; // 13
1632 int* global_handle_count; // 14 1632 int* global_handle_count; // 14
1633 int* weak_global_handle_count; // 15 1633 int* weak_global_handle_count; // 15
1634 int* pending_global_handle_count; // 16 1634 int* pending_global_handle_count; // 16
1635 int* near_death_global_handle_count; // 17 1635 int* near_death_global_handle_count; // 17
1636 int* destroyed_global_handle_count; // 18 1636 int* free_global_handle_count; // 18
1637 intptr_t* memory_allocator_size; // 19 1637 intptr_t* memory_allocator_size; // 19
1638 intptr_t* memory_allocator_capacity; // 20 1638 intptr_t* memory_allocator_capacity; // 20
1639 int* objects_per_type; // 21 1639 int* objects_per_type; // 21
1640 int* size_per_type; // 22 1640 int* size_per_type; // 22
1641 int* os_error; // 23 1641 int* os_error; // 23
1642 int* end_marker; // 24 1642 int* end_marker; // 24
1643 }; 1643 };
1644 1644
1645 1645
1646 class AlwaysAllocateScope { 1646 class AlwaysAllocateScope {
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
2262 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2262 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2263 }; 2263 };
2264 #endif // DEBUG || LIVE_OBJECT_LIST 2264 #endif // DEBUG || LIVE_OBJECT_LIST
2265 2265
2266 2266
2267 } } // namespace v8::internal 2267 } } // namespace v8::internal
2268 2268
2269 #undef HEAP 2269 #undef HEAP
2270 2270
2271 #endif // V8_HEAP_H_ 2271 #endif // V8_HEAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698