I tried it, and was wodering why perf was not changing. CommitPoint.delete() ultimatelly does
@Override public void delete() { if (!deleted) { deleted = true; commitsToDelete.add(this); } }
which will be handled later by the IndexFileDeleter