Revision f230a1cf deps/v8/src/v8.cc

View differences:

deps/v8/src/v8.cc
227 227
    FLAG_sweeper_threads = 0;
228 228
  }
229 229

  
230
  if (FLAG_parallel_marking) {
231
    if (FLAG_marking_threads <= 0) {
232
      FLAG_marking_threads = SystemThreadManager::
233
          NumberOfParallelSystemThreads(
234
              SystemThreadManager::PARALLEL_MARKING);
235
    }
236
    if (FLAG_marking_threads == 0) {
237
      FLAG_parallel_marking = false;
238
    }
239
  } else {
240
    FLAG_marking_threads = 0;
241
  }
242

  
243 230
  if (FLAG_concurrent_recompilation &&
244 231
      SystemThreadManager::NumberOfParallelSystemThreads(
245 232
          SystemThreadManager::PARALLEL_RECOMPILATION) == 0) {

Also available in: Unified diff