warnIsolateSlots method

void warnIsolateSlots(
  1. int isolates,
  2. int slots
)

print one warning when the app has more isolates than the Dart VM runs at the same time (slots).

Implementation

void warnIsolateSlots(int isolates, int slots) {
  if (isolates <= slots) return;
  // stderr, not Logger: the logger is off by default
  stderr.writeln(isolateSlotsWarning(isolates, slots));
}