OLD | NEW |
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 #ifndef V8_ISOLATE_H_ | 5 #ifndef V8_ISOLATE_H_ |
6 #define V8_ISOLATE_H_ | 6 #define V8_ISOLATE_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 | 1336 |
1337 v8::ArrayBuffer::Allocator* array_buffer_allocator_; | 1337 v8::ArrayBuffer::Allocator* array_buffer_allocator_; |
1338 | 1338 |
1339 FutexWaitListNode futex_wait_list_node_; | 1339 FutexWaitListNode futex_wait_list_node_; |
1340 | 1340 |
1341 std::set<Cancelable*> cancelable_tasks_; | 1341 std::set<Cancelable*> cancelable_tasks_; |
1342 | 1342 |
1343 v8::Isolate::AbortOnUncaughtExceptionCallback | 1343 v8::Isolate::AbortOnUncaughtExceptionCallback |
1344 abort_on_uncaught_exception_callback_; | 1344 abort_on_uncaught_exception_callback_; |
1345 | 1345 |
| 1346 base::Mutex isolate_mutex_; |
| 1347 |
1346 friend class ExecutionAccess; | 1348 friend class ExecutionAccess; |
1347 friend class HandleScopeImplementer; | 1349 friend class HandleScopeImplementer; |
1348 friend class OptimizingCompileDispatcher; | 1350 friend class OptimizingCompileDispatcher; |
1349 friend class SweeperThread; | 1351 friend class SweeperThread; |
1350 friend class ThreadManager; | 1352 friend class ThreadManager; |
1351 friend class Simulator; | 1353 friend class Simulator; |
1352 friend class StackGuard; | 1354 friend class StackGuard; |
1353 friend class ThreadId; | 1355 friend class ThreadId; |
1354 friend class TestMemoryAllocatorScope; | 1356 friend class TestMemoryAllocatorScope; |
1355 friend class TestCodeRangeScope; | 1357 friend class TestCodeRangeScope; |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 | 1567 |
1566 EmbeddedVector<char, 128> filename_; | 1568 EmbeddedVector<char, 128> filename_; |
1567 FILE* file_; | 1569 FILE* file_; |
1568 int scope_depth_; | 1570 int scope_depth_; |
1569 }; | 1571 }; |
1570 | 1572 |
1571 } // namespace internal | 1573 } // namespace internal |
1572 } // namespace v8 | 1574 } // namespace v8 |
1573 | 1575 |
1574 #endif // V8_ISOLATE_H_ | 1576 #endif // V8_ISOLATE_H_ |
OLD | NEW |