| 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_OPTIMIZING_COMPILE_DISPATCHER_H_ | 5 #ifndef V8_OPTIMIZING_COMPILE_DISPATCHER_H_ |
| 6 #define V8_OPTIMIZING_COMPILE_DISPATCHER_H_ | 6 #define V8_OPTIMIZING_COMPILE_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "src/base/atomicops.h" | 10 #include "src/base/atomicops.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 base::Mutex ref_count_mutex_; | 124 base::Mutex ref_count_mutex_; |
| 125 base::ConditionVariable ref_count_zero_; | 125 base::ConditionVariable ref_count_zero_; |
| 126 | 126 |
| 127 // Copy of FLAG_concurrent_recompilation_delay that will be used from the | 127 // Copy of FLAG_concurrent_recompilation_delay that will be used from the |
| 128 // background thread. | 128 // background thread. |
| 129 // | 129 // |
| 130 // Since flags might get modified while the background thread is running, it | 130 // Since flags might get modified while the background thread is running, it |
| 131 // is not safe to access them directly. | 131 // is not safe to access them directly. |
| 132 int recompilation_delay_; | 132 int recompilation_delay_; |
| 133 }; | 133 }; |
| 134 } | 134 } // namespace internal |
| 135 } // namespace v8::internal | 135 } // namespace v8 |
| 136 | 136 |
| 137 #endif // V8_OPTIMIZING_COMPILE_DISPATCHER_H_ | 137 #endif // V8_OPTIMIZING_COMPILE_DISPATCHER_H_ |
| OLD | NEW |