| 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 | 298 |
| 299 Address try_catch_handler_address_; | 299 Address try_catch_handler_address_; |
| 300 }; | 300 }; |
| 301 | 301 |
| 302 | 302 |
| 303 class SystemThreadManager { | 303 class SystemThreadManager { |
| 304 public: | 304 public: |
| 305 enum ParallelSystemComponent { | 305 enum ParallelSystemComponent { |
| 306 PARALLEL_SWEEPING, | 306 PARALLEL_SWEEPING, |
| 307 CONCURRENT_SWEEPING, | 307 CONCURRENT_SWEEPING, |
| 308 PARALLEL_RECOMPILATION | 308 CONCURRENT_RECOMPILATION |
| 309 }; | 309 }; |
| 310 | 310 |
| 311 static int NumberOfParallelSystemThreads(ParallelSystemComponent type); | 311 static int NumberOfParallelSystemThreads(ParallelSystemComponent type); |
| 312 | 312 |
| 313 static const int kMaxThreads = 4; | 313 static const int kMaxThreads = 4; |
| 314 }; | 314 }; |
| 315 | 315 |
| 316 | 316 |
| 317 #ifdef ENABLE_DEBUGGER_SUPPORT | 317 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 318 | 318 |
| (...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1504 | 1504 |
| 1505 // Mark the native context with out of memory. | 1505 // Mark the native context with out of memory. |
| 1506 inline void Context::mark_out_of_memory() { | 1506 inline void Context::mark_out_of_memory() { |
| 1507 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); | 1507 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); |
| 1508 } | 1508 } |
| 1509 | 1509 |
| 1510 | 1510 |
| 1511 } } // namespace v8::internal | 1511 } } // namespace v8::internal |
| 1512 | 1512 |
| 1513 #endif // V8_ISOLATE_H_ | 1513 #endif // V8_ISOLATE_H_ |
| OLD | NEW |