Volatile1、保证可见性package com.sw.volatileDemo;import java.util.concurrent.TimeUnit;/** * @Author sua...