< prev index next >

src/hotspot/share/gc/z/zStat.cpp

Print this page

        

*** 770,780 **** // Not max break; } const uint64_t new_max = value; ! const uint64_t prev_max = Atomic::cmpxchg(new_max, &cpu_data->_max, max); if (prev_max == max) { // Success break; } --- 770,780 ---- // Not max break; } const uint64_t new_max = value; ! const uint64_t prev_max = Atomic::cmpxchg(&cpu_data->_max, max, new_max); if (prev_max == max) { // Success break; }
< prev index next >