Pattern
Missing Memory-Order Semantics
memory-order-happens-before-mismatch
Memory-ordering semantics get mis-specified across concurrent code or API boundaries, so the success/failure paths don’t establish the required happens-before relationships, causing stale state, extra allocations, or hard-to-optimize behavior.