java volatile 变量写的同时会将之前线程内变量写的变量值同时 refresh in main memory

java volatile 变量读的同时,也会将线程内变量的值同时 refresh from main memory

留言

Sep 11 2015