docs: private void processWaitingPeriodicWork(long now) {
          if (now - m_lastSysprocInvocation < m_minTimeBetweenSysprocs) {
              return;
          }
  
          if (m_snapshots.size() > m_retain) {
              //Quick hack to make sure we don't delete while the snapshot is running.
              //Deletes work really badly during a snapshot because the FS is occupied
              if (!SnapshotSiteProcessor.ExecutionSitesCurrentlySnapshotting.isEmpty()) {
                  m_lastSysprocInvocation = System.currentTimeMillis() + 3000;
                  return;
              }
              deleteExtraSnapshots();
              return;
          }
  
          if (m_nextSnapshotTime < now) {
              initiateNextSnapshot(now);
              return;
          }
      }