< prev index next >

src/share/vm/utilities/yieldingWorkgroup.cpp

Print this page
rev 7793 : 8073315: Enable gcc -Wtype-limits and fix upcoming issues.

@@ -118,11 +118,10 @@
   _task = new_task;
   new_task->set_gang(this);  // Establish 2-way binding to support yielding
   _sequence_number++;
 
   uint requested_size = new_task->requested_size();
-  assert(requested_size >= 0, "Should be non-negative");
   if (requested_size != 0) {
     _active_workers = MIN2(requested_size, total_workers());
   } else {
     _active_workers = active_workers();
   }
< prev index next >