changeset 47552 | 8a3599d60996 |
parent 47216 | 71c04702a3d5 |
child 47580 | 96392e113a0a |
--- a/src/hotspot/share/gc/cms/parNewGeneration.cpp Thu Sep 28 11:02:55 2017 +0200 +++ b/src/hotspot/share/gc/cms/parNewGeneration.cpp Tue Sep 26 14:05:27 2017 +0200 @@ -1281,7 +1281,7 @@ // XXX This is horribly inefficient when a promotion failure occurs // and should be fixed. XXX FIX ME !!! #ifndef PRODUCT - Atomic::inc_ptr(&_num_par_pushes); + Atomic::inc(&_num_par_pushes); assert(_num_par_pushes > 0, "Tautology"); #endif if (from_space_obj->forwardee() == from_space_obj) {