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 274 matching lines...) Loading... |
285 | 285 |
286 Address try_catch_handler_address_; | 286 Address try_catch_handler_address_; |
287 }; | 287 }; |
288 | 288 |
289 | 289 |
290 class SystemThreadManager { | 290 class SystemThreadManager { |
291 public: | 291 public: |
292 enum ParallelSystemComponent { | 292 enum ParallelSystemComponent { |
293 PARALLEL_SWEEPING, | 293 PARALLEL_SWEEPING, |
294 CONCURRENT_SWEEPING, | 294 CONCURRENT_SWEEPING, |
295 PARALLEL_MARKING | 295 PARALLEL_MARKING, |
| 296 PARALLEL_RECOMPILATION |
296 }; | 297 }; |
297 | 298 |
298 static int NumberOfParallelSystemThreads(ParallelSystemComponent type); | 299 static int NumberOfParallelSystemThreads(ParallelSystemComponent type); |
299 | 300 |
300 static const int kMaxThreads = 4; | 301 static const int kMaxThreads = 4; |
301 }; | 302 }; |
302 | 303 |
303 | 304 |
304 #ifdef ENABLE_DEBUGGER_SUPPORT | 305 #ifdef ENABLE_DEBUGGER_SUPPORT |
305 | 306 |
(...skipping 1170 matching lines...) Loading... |
1476 | 1477 |
1477 // Mark the native context with out of memory. | 1478 // Mark the native context with out of memory. |
1478 inline void Context::mark_out_of_memory() { | 1479 inline void Context::mark_out_of_memory() { |
1479 native_context()->set_out_of_memory(HEAP->true_value()); | 1480 native_context()->set_out_of_memory(HEAP->true_value()); |
1480 } | 1481 } |
1481 | 1482 |
1482 | 1483 |
1483 } } // namespace v8::internal | 1484 } } // namespace v8::internal |
1484 | 1485 |
1485 #endif // V8_ISOLATE_H_ | 1486 #endif // V8_ISOLATE_H_ |
OLD | NEW |