I was looking inside the AtomicInteger Class and I came across the following method:
AtomicInteger
/** * Atomically increments by one the current value. *
That is a for ever loop. it is just a loop with no defined conditions to break out.