注意:此问题与volatile、AtomicLong或所描述用例中的任何感知缺陷无关。我要证明或排除的性质如下:Giventhefollowing:arecent64-bitOpenJDK7/8(preferably7,but8alsohelpful)amultiprocessingIntel-basesystemanon-volatilelongprimitivevariablemultipleunsynchronizedmutatorthreadsanunsynchronizedobserverthreadIstheobserveralwaysguaranteedtoencount