< prev index next >
src/hotspot/share/gc/cms/parNewGeneration.cpp
Print this page
rev 47409 : [mq]: review_comments_erik_and_david
rev 47402 : [mq]: xchg_ptr
rev 47400 : [mq]: cmpxchg_ptr
rev 47399 : [mq]: add_ptr
rev 47322 : 8186777: Make Klass::_java_mirror an OopHandle
Summary: Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses
Reviewed-by: hseigel, thartmann, eosterlund, stefank
Contributed-by: coleen.phillimore@oracle.com, rickard.backman@oracle.com
rev 47294 : 8186838: Generalize Atomic::inc/dec with templates
Reviewed-by: kbarrett, coleenp, dholmes
rev 47216 : 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
*** 1450,1460 ****
n++;
}
TASKQUEUE_STATS_ONLY(par_scan_state->note_overflow_refill(n));
#ifndef PRODUCT
assert(_num_par_pushes >= n, "Too many pops?");
! Atomic::add(-n, &_num_par_pushes);
#endif
return true;
}
#undef BUSY
--- 1450,1460 ----
n++;
}
TASKQUEUE_STATS_ONLY(par_scan_state->note_overflow_refill(n));
#ifndef PRODUCT
assert(_num_par_pushes >= n, "Too many pops?");
! Atomic::sub(n, &_num_par_pushes);
#endif
return true;
}
#undef BUSY
< prev index next >