writeBarrier sample