equal
deleted
inserted
replaced
160 } |
160 } |
161 |
161 |
162 if (can_retry != NULL) { |
162 if (can_retry != NULL) { |
163 *can_retry = true; |
163 *can_retry = true; |
164 } |
164 } |
165 size_t prev_value = Atomic::cmpxchg(new_value, &_capacity_until_GC, old_capacity_until_GC); |
165 size_t prev_value = Atomic::cmpxchg(&_capacity_until_GC, old_capacity_until_GC, new_value); |
166 |
166 |
167 if (old_capacity_until_GC != prev_value) { |
167 if (old_capacity_until_GC != prev_value) { |
168 return false; |
168 return false; |
169 } |
169 } |
170 |
170 |