| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 86   } | 86   } | 
| 87 | 87 | 
| 88  private: | 88  private: | 
| 89 #ifdef DEBUG | 89 #ifdef DEBUG | 
| 90   int thread_id_; | 90   int thread_id_; | 
| 91 #endif | 91 #endif | 
| 92 | 92 | 
| 93   Isolate* isolate_; | 93   Isolate* isolate_; | 
| 94   Semaphore* stop_semaphore_; | 94   Semaphore* stop_semaphore_; | 
| 95   Semaphore* input_queue_semaphore_; | 95   Semaphore* input_queue_semaphore_; | 
| 96   Semaphore* output_queue_semaphore_; |  | 
| 97   UnboundQueue<OptimizingCompiler*> input_queue_; | 96   UnboundQueue<OptimizingCompiler*> input_queue_; | 
| 98   UnboundQueue<OptimizingCompiler*> output_queue_; | 97   UnboundQueue<OptimizingCompiler*> output_queue_; | 
| 99   volatile AtomicWord stop_thread_; | 98   volatile AtomicWord stop_thread_; | 
| 100   volatile Atomic32 queue_length_; | 99   volatile Atomic32 queue_length_; | 
| 101   int64_t time_spent_compiling_; | 100   int64_t time_spent_compiling_; | 
| 102   int64_t time_spent_total_; | 101   int64_t time_spent_total_; | 
| 103 }; | 102 }; | 
| 104 | 103 | 
| 105 } }  // namespace v8::internal | 104 } }  // namespace v8::internal | 
| 106 | 105 | 
| 107 #endif  // V8_OPTIMIZING_COMPILER_THREAD_H_ | 106 #endif  // V8_OPTIMIZING_COMPILER_THREAD_H_ | 
| OLD | NEW | 
|---|