This CL is ready for review! PTAL, thanks.
(The bot timeouts happen on other CLs as well, so it is unrelated and should be fixed before landing the CL)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +1 |
LGTM with a suggestion.
The bot timeouts tend to happen on all CLs when America is awake; it helps to start dry runs during the European working day 😊
if (op_->memory_order_ == AtomicMemoryOrder::kAcqRel) {
return AtomicMemoryOrder::kAcqRel;
}
return AtomicMemoryOrder::kSeqCst;Could this be just `return op_->memory_order_;`?
void StoreOffHeap(OpIndex address, OptionalOpIndex index, OpIndex value,Similar to this precedent, I think if you added an `AtomicStore(...)` helper here that takes a `std::optional<AtomicMemoryOrder>`, and in turn left both existing `Store()` as they were, that could probably cut the size of this CL in half, because all the places where you're just adding a `std::nullopt` parameter could just stay as they are. WDYT?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |