--- old/src/share/vm/gc/shared/workgroup.cpp 2016-09-20 10:03:41.669803085 +0200 +++ new/src/share/vm/gc/shared/workgroup.cpp 2016-09-20 10:03:41.569803080 +0200 @@ -472,8 +472,7 @@ } bool SequentialSubTasksDone::is_task_claimed(uint& t) { - uint n_claimed = _n_claimed; - t = n_claimed; + t = _n_claimed; while (t < _n_tasks) { jint res = Atomic::cmpxchg(t+1, &_n_claimed, t); if (res == (jint)t) {