Lines 393-399
template <size_t PageSize, size_t PageAlignment, size_
Link Here
|
393 |
template <typename Filter, |
393 |
template <typename Filter, |
394 |
typename CallbackForwarder, |
394 |
typename CallbackForwarder, |
395 |
typename Callback, |
395 |
typename Callback, |
396 |
bool Clear> |
396 |
bool ClearBits> |
397 |
inline void |
397 |
inline void |
398 |
StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateImpl( |
398 |
StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateImpl( |
399 |
size_t epoch, |
399 |
size_t epoch, |
Lines 423-429
StateBitmap<PageSize, PageAlignment, AllocationAlignme
Link Here
|
423 |
|
423 |
|
424 |
callback_forwarder(callback, object_address, bits); |
424 |
callback_forwarder(callback, object_address, bits); |
425 |
|
425 |
|
426 |
if (Clear) { |
426 |
if (ClearBits) { |
427 |
// Clear the current bits. |
427 |
// Clear the current bits. |
428 |
AsAtomicCell(cell_index) |
428 |
AsAtomicCell(cell_index) |
429 |
.fetch_and(clear_value_mask, std::memory_order_relaxed); |
429 |
.fetch_and(clear_value_mask, std::memory_order_relaxed); |