Java??????volatile???????????????
???????????? ???????[ 2017/2/17 11:04:24 ] ??????????????????? Java
????3 ??????????
???????????????????н?????volatile??????????????????????????????????????????????JDK1.5??????????volatile????????????????
?????????????????1?е?inited??????2?е?instance??????volatile????????????JVM??????????????????????????????????????????С?
????volatile??????????“???????”????????????????????????volatile????????壬????????????????????????????????в??????????????????????????????????
???????????????????????????????
????????????????????????????????С??????????????????????????????Java????????????????????????????????JMM??????????????
?????????volatileд???????????????StoreStore?????
?????????volatileд???????????????StoreLoad?????
?????????volatile?????????????????LoadLoad?????
?????????volatile?????????????????LoadStore?????
?????????????
????volatile???????????????
?????????synchronized??????????volatile???????????????????????????????????????????????????ù??????????????????????????????????volatile?????Ρ?
????volatile????????????????????????volatile???????????м?????????????????????????????volatilei??????????synchronized??????????????????????
????volatile??y???
??????y??飺????????????????????????????????????volatile?????????????????synchronized??????У????????????????????volatile??
???????????volatile???ε???JVM?б??????????????????Ч??????????????????????????????
????volatile??synchronized????
????1??volatile??????м?????????
????volatile???????????????????????????volatile???????????м?????????????????????????????????volatile??????????synchronized??????????????????????
????2??volatile???????????????????????д??????
???????????????????д??volatile??????????????????飬?????volatile??????????????????顣
????3??volatile????synchronized?????
??????????????????????volatile????????????????????????????????????????????????????????volatile????????????????????????????????????????????????????????????????????Щ??
????4??volatile??????????????????????
????????????????????????????????????????????????????volatile??????????????????????????volatile?????????????????????????????????volatile????????????????????μ??????????????????“count++”??“count = count+1”??
??????????????????????????????????????volatile??????
????1?? ???????д???????????????????????????????????е????????±????????
????2?????????а???????????????????????С?
???????????????????????????????synchronized???????????????????????????κη???????з????????????jdK1.5?????synchronized???????????????????磺?????????????????????????????????????????????????????????????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Java???????????Щ???????????????Java????????????????Java?б???Map????????Java Web???????????????Java??????????????д?????Java????????7???????????????????????(java .net ?????)???Java??????????Python??????Java webdriver??λ????????′????е?????Java??д??????????????????Java???????????????JavaScript????????????Java?????????????????? Java???????10??????????????Java?м????????????????java???????ü???????????м???????????????????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????