< prev index next >
src/hotspot/share/gc/cms/concurrentMarkSweepGeneration.cpp
Print this page
*** 7955,7965 ****
assert(res, "Bit off more than we can chew?");
NOT_PRODUCT(n++;)
}
#ifndef PRODUCT
assert(_num_par_pushes >= n, "Too many pops?");
! Atomic::add(-n, &_num_par_pushes);
#endif
return true;
}
// Single-threaded
--- 7955,7965 ----
assert(res, "Bit off more than we can chew?");
NOT_PRODUCT(n++;)
}
#ifndef PRODUCT
assert(_num_par_pushes >= n, "Too many pops?");
! Atomic::sub(n, &_num_par_pushes);
#endif
return true;
}
// Single-threaded
< prev index next >