code: private void freeCompactedSegments() {
          SegmentManager segManager = _dataArray.getSegmentManager();
          if(segManager == null) return;
          
          while(!_freeQueue.isEmpty()) {
              Segment seg = _freeQueue.remove();
              try {
                  segManager.freeSegment(seg);
              } catch(Exception e) {
                  _log.error("failed to free Segment " + seg.getSegmentId() + ": " + seg.getStatus(), e);
              }
          }
      }
docs: Frees segments that were compacted successfully.