OLD | NEW |
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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 intptr_t lo_space_size; | 169 intptr_t lo_space_size; |
170 heap_stats.lo_space_size = &lo_space_size; | 170 heap_stats.lo_space_size = &lo_space_size; |
171 int global_handle_count; | 171 int global_handle_count; |
172 heap_stats.global_handle_count = &global_handle_count; | 172 heap_stats.global_handle_count = &global_handle_count; |
173 int weak_global_handle_count; | 173 int weak_global_handle_count; |
174 heap_stats.weak_global_handle_count = &weak_global_handle_count; | 174 heap_stats.weak_global_handle_count = &weak_global_handle_count; |
175 int pending_global_handle_count; | 175 int pending_global_handle_count; |
176 heap_stats.pending_global_handle_count = &pending_global_handle_count; | 176 heap_stats.pending_global_handle_count = &pending_global_handle_count; |
177 int near_death_global_handle_count; | 177 int near_death_global_handle_count; |
178 heap_stats.near_death_global_handle_count = &near_death_global_handle_count; | 178 heap_stats.near_death_global_handle_count = &near_death_global_handle_count; |
179 int destroyed_global_handle_count; | 179 int free_global_handle_count; |
180 heap_stats.destroyed_global_handle_count = &destroyed_global_handle_count; | 180 heap_stats.free_global_handle_count = &free_global_handle_count; |
181 intptr_t memory_allocator_size; | 181 intptr_t memory_allocator_size; |
182 heap_stats.memory_allocator_size = &memory_allocator_size; | 182 heap_stats.memory_allocator_size = &memory_allocator_size; |
183 intptr_t memory_allocator_capacity; | 183 intptr_t memory_allocator_capacity; |
184 heap_stats.memory_allocator_capacity = &memory_allocator_capacity; | 184 heap_stats.memory_allocator_capacity = &memory_allocator_capacity; |
185 int objects_per_type[LAST_TYPE + 1] = {0}; | 185 int objects_per_type[LAST_TYPE + 1] = {0}; |
186 heap_stats.objects_per_type = objects_per_type; | 186 heap_stats.objects_per_type = objects_per_type; |
187 int size_per_type[LAST_TYPE + 1] = {0}; | 187 int size_per_type[LAST_TYPE + 1] = {0}; |
188 heap_stats.size_per_type = size_per_type; | 188 heap_stats.size_per_type = size_per_type; |
189 int os_error; | 189 int os_error; |
190 heap_stats.os_error = &os_error; | 190 heap_stats.os_error = &os_error; |
(...skipping 5837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6028 | 6028 |
6029 | 6029 |
6030 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 6030 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
6031 HandleScopeImplementer* scope_implementer = | 6031 HandleScopeImplementer* scope_implementer = |
6032 reinterpret_cast<HandleScopeImplementer*>(storage); | 6032 reinterpret_cast<HandleScopeImplementer*>(storage); |
6033 scope_implementer->IterateThis(v); | 6033 scope_implementer->IterateThis(v); |
6034 return storage + ArchiveSpacePerThread(); | 6034 return storage + ArchiveSpacePerThread(); |
6035 } | 6035 } |
6036 | 6036 |
6037 } } // namespace v8::internal | 6037 } } // namespace v8::internal |
OLD | NEW |