{"id":1284,"date":"2023-06-27T13:54:27","date_gmt":"2023-06-27T05:54:27","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=1284"},"modified":"2023-06-27T13:54:27","modified_gmt":"2023-06-27T05:54:27","slug":"%e9%9d%a2%e8%af%95%e5%ae%98-%e6%9c%89%e4%ba%86%e8%a7%a3%e8%bf%87volatile%e5%85%b3%e9%94%ae%e5%ad%97%e5%90%97-%e8%af%b4%e8%af%b4%e7%9c%8b","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/java\/%e9%9d%a2%e8%af%95%e5%ae%98-%e6%9c%89%e4%ba%86%e8%a7%a3%e8%bf%87volatile%e5%85%b3%e9%94%ae%e5%ad%97%e5%90%97-%e8%af%b4%e8%af%b4%e7%9c%8b\/","title":{"rendered":"\u9762\u8bd5\u5b98: \u6709\u4e86\u89e3\u8fc7volatile\u5173\u952e\u5b57\u5417 \u8bf4\u8bf4\u770b"},"content":{"rendered":"<div class='wxsyncmain'>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"font-size: 16px;color: black;padding: 0 10px;word-spacing: 0px;word-break: break-word;word-wrap: break-word;text-align: left;line-height: 1.25;letter-spacing: 2px;background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%);background-size: 20px 20px;background-position: center center;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#39;PingFang SC&#39;, Cambria, Cochin, Georgia, Times, &#39;Times New Roman&#39;, serif;\">\n<h1 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 25px;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;font-weight: bold;color: #773098;\">\u9762\u8bd5\u5b98: \u6709\u4e86\u89e3\u8fc7volatile\u5173\u952e\u5b57\u5417 \u8bf4\u8bf4\u770b<\/span><span><\/span><\/h1>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;text-align: left;margin: 20px 10px 0px 0px;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;font-weight: bold;display: inline-block;padding-left: 10px;border-left: 5px solid #916dd5;\">\u524d\u8a00<\/span><span><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u76ee\u524d\u6b63\u5728\u51fa\u4e00\u4e2a<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">Java\u591a\u7ebf\u7a0b\u4e13\u9898<\/code>\u957f\u671f\u7cfb\u5217\u6559\u7a0b\uff0c\u4ece\u5165\u95e8\u5230\u8fdb\u9636\u542b<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">\u6e90\u7801\u89e3\u8bfb<\/code>, \u7bc7\u5e45\u4f1a\u8f83\u591a, \u559c\u6b22\u7684\u8bdd\uff0c\u7ed9\u4e2a\u5173\u6ce8\u2764\ufe0f ~ \u672c\u7bc7\u5185\u5bb9\u7eaf\u7406\u8bba\u4e00\u70b9<\/p>\n<section class=\"mp_profile_iframe_wrp\"><mpprofile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-id=\"MzU4NDcxOTM3OQ==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/dDva6rRBQ2CdNqsbX0ZOtVheUHGoTtib0icQ7L0cw9gRuTRGBLBN8vicep6dA8aLicWomyRCSTIZQx51icvaYhg6EHg\/0?wx_fmt=png\" data-nickname=\"\u7a0b\u5e8f\u5458\u76ae\u5361\u79cb\" data-alias=\"weqdnj\" data-signature=\"\u5206\u4eab\u66f4\u591a\u597d\u73a9\u6709\u8da3\u7684\u7f16\u7a0b\u77e5\u8bc6~\" data-from=\"0\"><\/mpprofile><\/section>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;text-align: left;margin: 20px 10px 0px 0px;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;font-weight: bold;display: inline-block;padding-left: 10px;border-left: 5px solid #916dd5;\">\u6982\u5ff5\u56de\u987e<\/span><span><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u9996\u5148\u6211\u4eec\u56de\u987e\u4e00\u4e0b\u4e4b\u524d\u8bb2\u7684\u57fa\u672c\u6982\u5ff5:<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;color: black;font-size: 16px;font-weight: bold;text-align: center;\"><span style=\"display: none;\"><\/span><span style=\"border-bottom: 2px solid #d89cf6;\">\u5185\u5b58\u53ef\u89c1\u6027<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><strong style=\"color: #916dd5;font-weight: bold;\">\u300c\u5185\u5b58\u53ef\u89c1\u6027\uff0c\u6307\u7684\u662f\u7ebf\u7a0b\u4e4b\u95f4\u7684\u53ef\u89c1\u6027\uff0c\u5f53\u4e00\u4e2a\u7ebf\u7a0b\u4fee\u6539\u4e86\u5171\u4eab\u53d8\u91cf\u65f6\uff0c\u53e6\u4e00\u4e2a\u7ebf\u7a0b\u53ef\u4ee5\u8bfb\u53d6\u5230\u8fd9\u4e2a\u4fee\u6539\u540e\u7684\u503c\u300d<\/strong>\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;color: black;font-size: 16px;font-weight: bold;text-align: center;\"><span style=\"display: none;\"><\/span><span style=\"border-bottom: 2px solid #d89cf6;\">\u91cd\u6392\u5e8f<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u4e3a\u4f18\u5316\u7a0b\u5e8f\u6027\u80fd\uff0c\u5bf9\u539f\u6709\u7684\u6307\u4ee4\u6267\u884c\u987a\u5e8f\u8fdb\u884c\u4f18\u5316\u91cd\u65b0\u6392\u5e8f\u3002\u91cd\u6392\u5e8f\u53ef\u80fd\u53d1\u751f\u5728\u591a\u4e2a\u9636\u6bb5\uff0c\u6bd4\u5982\u7f16\u8bd1\u91cd\u6392\u5e8f\u3001CPU\u91cd\u6392\u5e8f\u7b49\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;color: black;font-size: 16px;font-weight: bold;text-align: center;\"><span style=\"display: none;\"><\/span><span style=\"border-bottom: 2px solid #d89cf6;\">happens-before<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u9075\u5faahappens-before\u89c4\u5219\uff0cJVM\u5c31\u80fd\u4fdd\u8bc1\u6307\u4ee4\u5728\u591a\u7ebf\u7a0b\u4e4b\u95f4\u7684\u987a\u5e8f\u6027\u7b26\u5408\u6267\u884c\u7684\u9884\u671f\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;color: black;font-size: 16px;font-weight: bold;text-align: center;\"><span style=\"display: none;\"><\/span><span style=\"border-bottom: 2px solid #d89cf6;\">volatile<\/span><span style=\"display: none;\"><\/span><\/h3>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;font-size: 15px;list-style-type: circle;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\u4fdd\u8bc1\u53d8\u91cf\u7684<strong style=\"color: #916dd5;font-weight: bold;\">\u300c\u5185\u5b58\u53ef\u89c1\u6027\u300d<\/strong><\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\u7981\u6b62volatile\u53d8\u91cf\u4e0e\u666e\u901a\u53d8\u91cf<strong style=\"color: #916dd5;font-weight: bold;\">\u300c\u91cd\u6392\u5e8f\u300d<\/strong><\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u90a3\u4e48\u8fd9\u4e2a\u5185\u5b58\u53ef\u89c1\u6027\u8fc7\u7a0b\u662f\u600e\u4e48\u6837\u7684\u5462\u2753\u4e4b\u524d\u4e5f\u6709\u7ed9\u5927\u5bb6\u6f14\u793a\u8fc7\u5177\u4f53\u4ee3\u7801\uff0c\u8fd9\u91cc\u76f4\u63a5\u7ed9\u5927\u5bb6\u603b\u7ed3\u4e00\u4e0b:<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u6240\u8c13<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">\u5185\u5b58\u53ef\u89c1\u6027<\/code>, \u5f53\u4e00\u4e2a\u7ebf\u7a0b\u5bf9<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">volatile<\/code>\u4fee\u9970\u7684\u53d8\u91cf\u8fdb\u884c<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">\u5199<\/code>\u64cd\u4f5c\u65f6\uff0c\u4f1a\u7acb\u5373\u5c06\u672c\u5730\u5185\u5b58\u4e2d\u7684\u5171\u4eab\u53d8\u91cf\u5237\u65b0\u5230<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">\u4e3b\u5185\u5b58<\/code>, \u540c\u7406\uff0c\u5f53\u8fdb\u884c<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">\u8bfb<\/code>\u64cd\u4f5c\u65f6\uff0c\u4f1a\u7acb\u5373\u5c06\u672c\u5730\u5185\u5b58\u5931\u6548\uff0c\u4ece\u4e3b\u5185\u5b58\u4e2d\u8bfb\u53d6\u5171\u4eab\u53d8\u91cf\u7684\u503c\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u5728\u8fd9\u4e00\u70b9\u4e0a\uff0c<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">volatile\u4e0e\u9501<\/code>\u5177\u6709\u76f8\u540c\u7684\u5185\u5b58\u6548\u679c\uff0cvolatile\u53d8\u91cf\u7684\u5199\u548c\u9501\u7684\u91ca\u653e\u5177\u6709\u76f8\u540c\u7684\u5185\u5b58\u8bed\u4e49\uff0cvolatile\u53d8\u91cf\u7684\u8bfb\u548c\u9501\u7684\u83b7\u53d6\u5177\u6709\u76f8\u540c\u7684\u5185\u5b58\u8bed\u4e49\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u7981\u6b62\u91cd\u6392\u53c8\u662f\u600e\u4e48\u56de\u4e8b\u5462\u2753<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u5728JSR-133\u4e4b\u524d\u7684\u65e7\u7684Java\u5185\u5b58\u6a21\u578b\u4e2d\uff0c\u662f\u5141\u8bb8volatile\u53d8\u91cf\u4e0e\u666e\u901a\u53d8\u91cf\u91cd\u6392\u5e8f\u7684\u3002\u60f3\u60f3\u770b\uff0c\u5982\u679c\u53ef\u91cd\u6392\uff0c\u4f1a\u53d1\u751f\u4ec0\u4e48\uff1f<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u6211\u4eec\u5047\u8bbe\u6709\u4e24\u4e2a\u7ebf\u7a0bA\u548cB,\u4e00\u4e2a\u88ab<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">volatile<\/code>\u4fee\u9970\u7684\u53d8\u91cfa\uff0c\u4e00\u4e2a\u672a\u88ab\u4fee\u9970\u7684\u666e\u901a\u53d8\u91cfb\uff0c\u770b\u4e0b\u8fb9\u4ee3\u7801:<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041423630.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">class<\/span>&nbsp;<span style=\"color: #e6c07b;line-height: 26px;\">Singleton<\/span>&nbsp;<\/span>{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">private<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">static<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">volatile<\/span>&nbsp;Singleton&nbsp;instance;<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">private<\/span>&nbsp;<span style=\"color: #61aeee;line-height: 26px;\">Singleton<\/span><span style=\"line-height: 26px;\">()<\/span>&nbsp;<\/span>{}<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">static<\/span>&nbsp;Singleton&nbsp;<span style=\"color: #61aeee;line-height: 26px;\">getInstance<\/span><span style=\"line-height: 26px;\">()<\/span>&nbsp;<\/span>{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(instance&nbsp;==&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>)&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">synchronized<\/span>&nbsp;(Singleton<span style=\"line-height: 26px;\">.<span style=\"color: #c678dd;line-height: 26px;\">class<\/span>)&nbsp;<\/span>{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(instance&nbsp;==&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>)&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;instance&nbsp;=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">new<\/span>&nbsp;Singleton();<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>&nbsp;instance;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/>}<br  \/><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u8fd9\u6837\u5728\u591a\u7ebf\u7a0b\u73af\u5883\u4e0b\uff0c\u53ef\u4ee5\u4fdd\u8bc1\u5176\u5b89\u5168\u6027<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;text-align: left;margin: 20px 10px 0px 0px;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;font-weight: bold;display: inline-block;padding-left: 10px;border-left: 5px solid #916dd5;\">\u7ed3\u675f\u8bed<\/span><span><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u672c\u8282\u5185\u5bb9\u53ef\u80fd\u4e0d\u50cf\u4e4b\u524d\u90a3\u4e48\u597d\u7406\u89e3\uff0c\u6bd4\u8f83\u62bd\u8c61\uff0c\u6240\u4ee5\u672c\u6587\u4e5f\u6709\u4e0d\u8db3\u7684\u5730\u65b9\uff0c\u5927\u5bb6\u81ea\u5df1\u53ef\u4ee5\u591a\u67e5\u67e5\u4e00\u4e9b\u8d44\u6599\uff0c\u7efc\u5408\u7406\u89e3, \u4e0d\u8981\u53bb\u80cc\u6982\u5ff5\u3002\u672c\u8282\u6211\u4eec\u63d0\u5230\u4e86<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">\u9501\u7684<\/code>\u6982\u5ff5,\u4e0b\u4e00\u8282\uff0c\u5e26\u5927\u5bb6\u6df1\u5165\u5b66\u4e60\u4e00\u4e0bJava\u7684<code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">synchronized\u4e0e\u9501<\/code> ~<\/p>\n<p><mp-miniprogram data-miniprogram-appid=\"wx7564a3163c01a921\" data-miniprogram-path=\"pages\/index\/index\" data-miniprogram-nickname=\"\u7a0b\u5e8f\u5458\u76ae\u5361\u79cb\" data-miniprogram-avatar=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/4riatBnj7IX3cWJjxpZicYUQT06DRbhdPI4t1rw1Fc93NstHnXhf6t7OLvb8xdmkepzDgic02GNh5P1hnYNEdAibGQ\/640?wx_fmt=png&amp;wxfrom=200\" data-miniprogram-title=\"\u5f80\u671f\u6559\u7a0b\u6c47\u603b \u5feb\u6765\u5b66\u4e60~\" data-miniprogram-imageurl=\"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/dDva6rRBQ2C6DZLLgLFRkulKJCYe1rTVzX30a72whVOibgags2PbOZTbzGyS9r6hLWUiblyYGsuia8ZUAjAdtvkVw\/0?wx_fmt=jpeg\" data-miniprogram-type=\"card\" data-miniprogram-servicetype=\"0\"><\/mp-miniprogram><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;text-align: left;margin: 20px 10px 0px 0px;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;font-weight: bold;display: inline-block;padding-left: 10px;border-left: 5px solid #916dd5;\">\u5f80\u671f\u5185\u5bb9\u63a8\u8350<\/span><span><\/span><\/h2>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;font-size: 15px;list-style-type: circle;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484405&amp;idx=1&amp;sn=a0f6306f9cf6d42513ceb405c27fb5c6&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >Java\u591a\u7ebf\u7a0b\u4e13\u9898\u4e4b\u7ebf\u7a0b\u4e0e\u8fdb\u7a0b\u6982\u8ff0<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484420&amp;idx=1&amp;sn=091f16799a39c3b0accb34508c74f502&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >Java\u591a\u7ebf\u7a0b\u4e13\u9898\u4e4b\u7ebf\u7a0b\u7c7b\u548c\u63a5\u53e3\u5165\u95e8<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484445&amp;idx=1&amp;sn=d52c414aa01d7228b9c56e6cbf51b383&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >Java\u591a\u7ebf\u7a0b\u4e13\u9898\u4e4b\u8fdb\u9636\u5b66\u4e60Thread(\u542b\u6e90\u7801\u5206\u6790)<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484481&amp;idx=1&amp;sn=71634dcc861d5352a7c484c8fda1813f&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >Java\u591a\u7ebf\u7a0b\u4e13\u9898\u4e4bCallable\u3001Future\u4e0eFutureTask(\u542b\u6e90\u7801\u5206\u6790)<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484502&amp;idx=1&amp;sn=278fd3b18af993245fe31e0846778d6d&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u9762\u8bd5\u5b98: \u6709\u4e86\u89e3\u8fc7\u7ebf\u7a0b\u7ec4\u548c\u7ebf\u7a0b\u4f18\u5148\u7ea7\u5417<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484525&amp;idx=1&amp;sn=02795b750487873becddb73fc6a4a4c5&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u9762\u8bd5\u5b98: \u8bf4\u4e00\u4e0b\u7ebf\u7a0b\u7684\u751f\u547d\u5468\u671f\u8fc7\u7a0b<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484564&amp;idx=1&amp;sn=e763cd00bfc7a170b9837c841b34afe6&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u9762\u8bd5\u5b98: \u8bf4\u4e00\u4e0b\u7ebf\u7a0b\u95f4\u7684\u901a\u4fe1<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484570&amp;idx=1&amp;sn=9ff4d1c83b96ff3f1145d2daf067b842&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u9762\u8bd5\u5b98: \u8bf4\u4e00\u4e0bJava\u7684\u5171\u4eab\u5185\u5b58\u6a21\u578b<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484576&amp;idx=1&amp;sn=ebec110c348f4ebfa8287e587e83c256&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u9762\u8bd5\u5b98: \u6709\u4e86\u89e3\u8fc7\u6307\u4ee4\u91cd\u6392\u5417\uff0c\u4ec0\u4e48\u662fhappens-before<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">\u6211\u7684\u535a\u5ba2(\u9605\u8bfb\u4f53\u9a8c\u8f83\u4f73)<\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247483838&amp;idx=1&amp;sn=71fb87986da0b055350486a0d5978738&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u5199\u7ed9\u521d\u5b66\u8005\u7684Java\u57fa\u7840\u6559\u7a0b<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247483935&amp;idx=1&amp;sn=02e3a119ac67ec14acbbeafd90ea4d67&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u4e00\u6587\u5e26\u4f60\u5feb\u901f\u5b66\u4e60Java\u96c6\u5408\u7c7b<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247483885&amp;idx=1&amp;sn=ddee16b53b26c9a143bcfcaa7c5b26d7&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u82b1\u51e0\u5206\u949f\u5feb\u901f\u4e86\u89e3\u4e00\u4e0b\u6cdb\u578b\u4e0e\u679a\u4e3e<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247483865&amp;idx=1&amp;sn=bad9a6e8c874931cefe9a778d28acdd0&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >Java\u6ce8\u89e3\u4e0e\u53cd\u5c04\u5165\u95e8\u5230\u8fdb\u9636<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247483965&amp;idx=1&amp;sn=b7a4e796f8a43c1790b030ceca35eaaf&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >JavaIO\u6559\u7a0b\u4ece\u5165\u95e8\u5230\u8fdb\u9636<\/a><\/p>\n<\/section>\n<\/li>\n<\/ul>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;text-align: left;margin: 20px 10px 0px 0px;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;font-weight: bold;display: inline-block;padding-left: 10px;border-left: 5px solid #916dd5;\">\u9879\u76ee\u6e90\u7801(\u6e90\u7801\u5df2\u66f4\u65b0 \u6b22\u8fcestar\u2b50\ufe0f)<\/span><span><\/span><\/h2>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;font-size: 15px;list-style-type: circle;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">java-thread-all<\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">\u5730\u5740<\/code>: https:\/\/github.com\/qiuChengleiy\/java-thread-all.git<\/p>\n<\/section>\n<\/li>\n<\/ul>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;text-align: left;margin: 20px 10px 0px 0px;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 18px;font-weight: bold;display: inline-block;padding-left: 10px;border-left: 5px solid #916dd5;\">\u63a8\u8350 SpringBoot &amp; SpringCloud (\u6e90\u7801\u5df2\u66f4\u65b0 \u6b22\u8fcestar\u2b50\ufe0f)<\/span><span><\/span><\/h2>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;font-size: 15px;list-style-type: circle;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\">springboot-all<\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><code style=\"font-size: 14px;word-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin: 0 2px;background-color: rgba(27,31,35,.05);font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: #916dd5;font-weight: bolder;background: none;\">\u5730\u5740<\/code>: https:\/\/github.com\/qiuChengleiy\/springboot-all.git<\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484270&amp;idx=1&amp;sn=7c99c89d9672effa90547f92815cb1b5&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >SpringBoot\u7cfb\u5217\u6559\u7a0b\u5408\u96c6<\/a><\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-size: 14px;font-weight: normal;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484392&amp;idx=1&amp;sn=e6c7e1231c4cf6b9f4debbe3257aca8b&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u4e00\u8d77\u6765\u5b66SpringCloud\u5408\u96c6<\/a><\/p>\n<\/section>\n<\/li>\n<\/ul>\n<p style=\"text-align: center;margin-bottom: 0em;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-galleryid=\"\" data-ratio=\"1.2792553191489362\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"752\" style=\"\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041422825.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"1.2792553191489362\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"752\" style=\"\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041422825.jpeg\"><\/noscript><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;margin: 10px 0px;letter-spacing: 2px;font-size: 14px;word-spacing: 2px;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484392&amp;idx=1&amp;sn=e6c7e1231c4cf6b9f4debbe3257aca8b&amp;scene=21#wechat_redirect\" style=\"text-decoration: none;word-wrap: break-word;color: #916dd5;font-weight: bolder;border-bottom: 1px solid #916dd5;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" ><\/a><\/p>\n<\/section>\n<p><br  \/><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 \u7a0b\u5e8f\u5458\u76ae\u5361\u79cb              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u9762\u8bd5\u5b98: \u6709\u4e86\u89e3\u8fc7volatile\u5173\u952e\u5b57\u5417 \u8bf4\u8bf4\u770b \u524d\u8a00 \u76ee\u524d\u6b63\u5728\u51fa\u4e00\u4e2aJava\u591a\u7ebf\u7a0b\u4e13\u9898\u957f\u671f\u7cfb\u5217\u6559\u7a0b\uff0c\u4ece\u5165\u95e8\u5230\u8fdb\u9636\u542b\u6e90\u7801\u89e3\u8bfb,  &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1281,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-1284","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041421454-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041422825.jpeg","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041421454-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041421454.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041422825.jpeg","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041421454-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041421454.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041421454.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041422825.jpeg","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528041422825.jpeg","id":"image1"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Java","post_date":"2023-06-27","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":383,"next_post_id":1377,"next_post_title":"\u9001\u7ed9Go\u5f00\u53d1\u8005\u7684Java\u57fa\u7840\u6559\u7a0b","previous_post_id":1319,"previous_post_title":"\u9762\u8bd5\u5b98: \u6709\u4e86\u89e3\u8fc7CAS\u548c\u539f\u5b50\u64cd\u4f5c\u5417\uff1f\u8bf4\u8bf4\u770b","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1284"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1284\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/1281"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}