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

Side by Side Diff: src/global-handles.h

Issue 1209403005: Let the second pass phantom callbacks run in a separate task on the foreground thread. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/global-handles.cc » ('j') | src/global-handles.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #ifndef V8_GLOBAL_HANDLES_H_ 5 #ifndef V8_GLOBAL_HANDLES_H_
6 #define V8_GLOBAL_HANDLES_H_ 6 #define V8_GLOBAL_HANDLES_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "include/v8-profiler.h" 9 #include "include/v8-profiler.h"
10 10
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 int PostScavengeProcessing(int initial_post_gc_processing_count); 291 int PostScavengeProcessing(int initial_post_gc_processing_count);
292 int PostMarkSweepProcessing(int initial_post_gc_processing_count); 292 int PostMarkSweepProcessing(int initial_post_gc_processing_count);
293 int DispatchPendingPhantomCallbacks(); 293 int DispatchPendingPhantomCallbacks();
294 void UpdateListOfNewSpaceNodes(); 294 void UpdateListOfNewSpaceNodes();
295 295
296 // Internal node structures. 296 // Internal node structures.
297 class Node; 297 class Node;
298 class NodeBlock; 298 class NodeBlock;
299 class NodeIterator; 299 class NodeIterator;
300 class PendingPhantomCallback; 300 class PendingPhantomCallback;
301 class PendingPhantomCallbacksSecondPassTask;
301 302
302 Isolate* isolate_; 303 Isolate* isolate_;
303 304
304 // Field always containing the number of handles to global objects. 305 // Field always containing the number of handles to global objects.
305 int number_of_global_handles_; 306 int number_of_global_handles_;
306 307
307 // List of all allocated node blocks. 308 // List of all allocated node blocks.
308 NodeBlock* first_block_; 309 NodeBlock* first_block_;
309 310
310 // List of node blocks with used nodes. 311 // List of node blocks with used nodes.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 List<int> new_space_indices_; 430 List<int> new_space_indices_;
430 int singleton_handles_[NUMBER_OF_SINGLETON_HANDLES]; 431 int singleton_handles_[NUMBER_OF_SINGLETON_HANDLES];
431 432
432 DISALLOW_COPY_AND_ASSIGN(EternalHandles); 433 DISALLOW_COPY_AND_ASSIGN(EternalHandles);
433 }; 434 };
434 435
435 436
436 } } // namespace v8::internal 437 } } // namespace v8::internal
437 438
438 #endif // V8_GLOBAL_HANDLES_H_ 439 #endif // V8_GLOBAL_HANDLES_H_
OLDNEW
« no previous file with comments | « no previous file | src/global-handles.cc » ('j') | src/global-handles.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698