| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_COMPILER_DISPATCHER_COMPILER_DISPATCHER_H_ | 5 #ifndef V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_H_ |
| 6 #define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_H_ | 6 #define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <cstdint> | 8 #include <cstdint> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <unordered_set> | 11 #include <unordered_set> |
| 12 #include <utility> | 12 #include <utility> |
| 13 | 13 |
| 14 #include "src/base/atomic-utils.h" | 14 #include "src/base/atomic-utils.h" |
| 15 #include "src/base/macros.h" | 15 #include "src/base/macros.h" |
| 16 #include "src/base/platform/condition-variable.h" | 16 #include "src/base/platform/condition-variable.h" |
| 17 #include "src/base/platform/mutex.h" | 17 #include "src/base/platform/mutex.h" |
| 18 #include "src/base/platform/semaphore.h" | 18 #include "src/base/platform/semaphore.h" |
| 19 #include "src/globals.h" | 19 #include "src/globals.h" |
| 20 #include "src/identity-map.h" | 20 #include "src/identity-map.h" |
| 21 #include "testing/gtest/include/gtest/gtest_prod.h" | 21 #include "testing/gtest/include/gtest/gtest_prod.h" // nogncheck |
| 22 | 22 |
| 23 namespace v8 { | 23 namespace v8 { |
| 24 | 24 |
| 25 class Platform; | 25 class Platform; |
| 26 enum class MemoryPressureLevel; | 26 enum class MemoryPressureLevel; |
| 27 | 27 |
| 28 namespace internal { | 28 namespace internal { |
| 29 | 29 |
| 30 class CancelableTaskManager; | 30 class CancelableTaskManager; |
| 31 class CompilerDispatcherJob; | 31 class CompilerDispatcherJob; |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 base::AtomicValue<bool> block_for_testing_; | 203 base::AtomicValue<bool> block_for_testing_; |
| 204 base::Semaphore semaphore_for_testing_; | 204 base::Semaphore semaphore_for_testing_; |
| 205 | 205 |
| 206 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcher); | 206 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcher); |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 } // namespace internal | 209 } // namespace internal |
| 210 } // namespace v8 | 210 } // namespace v8 |
| 211 | 211 |
| 212 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_H_ | 212 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_H_ |
| OLD | NEW |