private boolean isCurrentThreadEffectivelyPrioritized() {
    if (myDeprioritizations.get()>0) {
      return false;
    }
    return isCurrentThreadPrioritized();
  }
private boolean isCurrentThreadEffectivelyPrioritized()