@Nullable
  String preventTooManySubmissions() {
    int currentCount = myCount.incrementAndGet();
    if (myStoppedTracing) return null;

    Map<String, Integer> traces = myTraces;
    if (currentCount > 100) {
      if (traces == null) {
        myTraces = new ConcurrentHashMap<>();
      } else {
        Integer count = traces.get(callerTrace());
        if (count != null && count > 10) {
          stopTracing();
          LOG.error(TOO_MANY_SUBMISSIONS + ": " + count + ARE_CURRENTLY_ACTIVE);
        }
        else if (currentCount % 127 == 0) {
          stopTracing();
          reportTooManyUnidentifiedSubmissions(traces);
        }
      }
    }
    if (traces != null) {
      String trace = callerTrace();
      traces.merge(trace, 1, Integer::sum);
      return trace;
    }
    return null;
  }
@Nullable
  String preventTooManySubmissions()