minor optimization to no-op GC iteration if no state has changed that would require GC