OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |