code: private void onWindowProbationHit(Node node) {
      node.remove();
      node.status = Status.WINDOW_PROTECTED;
      node.appendToTail(headWindowProtected);
  
      sizeWindowProtected++;
      if (sizeWindowProtected > maxWindowProtected) {
        Node demote = headWindowProtected.next;
        demote.remove();
        demote.status = Status.WINDOW_PROBATION;
        demote.appendToTail(headWindowProbation);
        sizeWindowProtected--;
      }
    }
docs: Promotes the entry to the protected region's MRU position, demoting an entry if necessary.