> since, as easy to reproduce it, it is also easy to avoid it by modifying > java program. Can you expand on this, please? While the issue in Lucene could be worked around by manually unrolling the loop, I don't see a trivial fix for the case I was hitting, where was a nesting of two loops with correlated counters. Dawid