难道是因为 作者在add 方法中的最后一行调用了这个方法:
// we lazy set to ensure that setting stack to null appears before we unnull it in the owning thread;
// this also means we guarantee visibility of an element in the queue if we see the index updated tail.lazySet(writeIndex + 1);