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

Side by Side Diff: src/api.cc

Issue 1053243003: Revert of Merge cellspace into old pointer space (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « include/v8.h ('k') | src/arm/code-stubs-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/api.h" 5 #include "src/api.h"
6 6
7 #include <string.h> // For memcpy, strlen. 7 #include <string.h> // For memcpy, strlen.
8 #ifdef V8_USE_ADDRESS_SANITIZER 8 #ifdef V8_USE_ADDRESS_SANITIZER
9 #include <sanitizer/asan_interface.h> 9 #include <sanitizer/asan_interface.h>
10 #endif // V8_USE_ADDRESS_SANITIZER 10 #endif // V8_USE_ADDRESS_SANITIZER
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 intptr_t old_space_capacity; 222 intptr_t old_space_capacity;
223 heap_stats.old_space_capacity = &old_space_capacity; 223 heap_stats.old_space_capacity = &old_space_capacity;
224 intptr_t code_space_size; 224 intptr_t code_space_size;
225 heap_stats.code_space_size = &code_space_size; 225 heap_stats.code_space_size = &code_space_size;
226 intptr_t code_space_capacity; 226 intptr_t code_space_capacity;
227 heap_stats.code_space_capacity = &code_space_capacity; 227 heap_stats.code_space_capacity = &code_space_capacity;
228 intptr_t map_space_size; 228 intptr_t map_space_size;
229 heap_stats.map_space_size = &map_space_size; 229 heap_stats.map_space_size = &map_space_size;
230 intptr_t map_space_capacity; 230 intptr_t map_space_capacity;
231 heap_stats.map_space_capacity = &map_space_capacity; 231 heap_stats.map_space_capacity = &map_space_capacity;
232 intptr_t cell_space_size;
233 heap_stats.cell_space_size = &cell_space_size;
234 intptr_t cell_space_capacity;
235 heap_stats.cell_space_capacity = &cell_space_capacity;
232 intptr_t lo_space_size; 236 intptr_t lo_space_size;
233 heap_stats.lo_space_size = &lo_space_size; 237 heap_stats.lo_space_size = &lo_space_size;
234 int global_handle_count; 238 int global_handle_count;
235 heap_stats.global_handle_count = &global_handle_count; 239 heap_stats.global_handle_count = &global_handle_count;
236 int weak_global_handle_count; 240 int weak_global_handle_count;
237 heap_stats.weak_global_handle_count = &weak_global_handle_count; 241 heap_stats.weak_global_handle_count = &weak_global_handle_count;
238 int pending_global_handle_count; 242 int pending_global_handle_count;
239 heap_stats.pending_global_handle_count = &pending_global_handle_count; 243 heap_stats.pending_global_handle_count = &pending_global_handle_count;
240 int near_death_global_handle_count; 244 int near_death_global_handle_count;
241 heap_stats.near_death_global_handle_count = &near_death_global_handle_count; 245 heap_stats.near_death_global_handle_count = &near_death_global_handle_count;
(...skipping 7831 matching lines...) Expand 10 before | Expand all | Expand 10 after
8073 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate()); 8077 Isolate* isolate = reinterpret_cast<Isolate*>(info.GetIsolate());
8074 Address callback_address = 8078 Address callback_address =
8075 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback)); 8079 reinterpret_cast<Address>(reinterpret_cast<intptr_t>(callback));
8076 VMState<EXTERNAL> state(isolate); 8080 VMState<EXTERNAL> state(isolate);
8077 ExternalCallbackScope call_scope(isolate, callback_address); 8081 ExternalCallbackScope call_scope(isolate, callback_address);
8078 callback(info); 8082 callback(info);
8079 } 8083 }
8080 8084
8081 8085
8082 } } // namespace v8::internal 8086 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698