{"id":1351,"date":"2023-06-27T13:54:26","date_gmt":"2023-06-27T05:54:26","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=1351"},"modified":"2023-06-27T13:54:26","modified_gmt":"2023-06-27T05:54:26","slug":"%e9%9d%a2%e8%af%95%e5%ae%98-exchanger%e5%9c%a8%e9%a1%b9%e7%9b%ae%e4%b8%ad%e6%9c%89%e4%bd%bf%e7%94%a8%e8%bf%87%e5%90%97%ef%bc%9f%e8%af%b4%e8%af%b4%e7%9c%8b%e6%ba%90%e7%a0%81%e5%89%96%e6%9e%90","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/java\/%e9%9d%a2%e8%af%95%e5%ae%98-exchanger%e5%9c%a8%e9%a1%b9%e7%9b%ae%e4%b8%ad%e6%9c%89%e4%bd%bf%e7%94%a8%e8%bf%87%e5%90%97%ef%bc%9f%e8%af%b4%e8%af%b4%e7%9c%8b%e6%ba%90%e7%a0%81%e5%89%96%e6%9e%90\/","title":{"rendered":"\u9762\u8bd5\u5b98: Exchanger\u5728\u9879\u76ee\u4e2d\u6709\u4f7f\u7528\u8fc7\u5417\uff1f\u8bf4\u8bf4\u770b(\u6e90\u7801\u5256\u6790)"},"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: Exchanger\u5728\u9879\u76ee\u4e2d\u6709\u4f7f\u7528\u8fc7\u5417\uff1f\u8bf4\u8bf4\u770b(\u6e90\u7801\u5256\u6790)<\/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 ~<\/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<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;\">Java\u63d0\u4f9b\u4e86\u4e00\u4e9b\u975e\u5e38\u597d\u7528\u7684\u5e76\u53d1\u5de5\u5177\u7c7b\uff0c\u4e0d\u9700\u8981\u6211\u4eec\u91cd\u590d\u9020\u8f6e\u5b50\uff0c\u672c\u8282\u6211\u4eec\u8bb2\u89e3<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;\">Exchanger<\/code>,\u4e00\u8d77\u6765\u770b\u4e0b\u5427~<\/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;\">Exchanger<\/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;\"><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;\">Exchanger<\/code>\u7c7b\u7528\u4e8e\u4e24\u4e2a\u7ebf\u7a0b\u4ea4\u6362\u6570\u636e,\u652f\u6301\u6cdb\u578b,\u4e0b\u9762\u6211\u4eec\u901a\u8fc7\u4f8b\u5b50\u611f\u53d7\u4e00\u4e0b:<\/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\/20230528042242456.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;\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">private<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">final<\/span>&nbsp;Object&nbsp;<span style=\"color: #61aeee;line-height: 26px;\">slotExchange<\/span><span style=\"line-height: 26px;\">(Object&nbsp;item,&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">boolean<\/span>&nbsp;timed,&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">long<\/span>&nbsp;ns)<\/span>&nbsp;<\/span>{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u83b7\u53d6\u5f53\u524d\u7ebf\u7a0b\u7684\u4ea4\u6362\u8282\u70b9<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Node&nbsp;p&nbsp;=&nbsp;participant.get();<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thread&nbsp;t&nbsp;=&nbsp;Thread.currentThread();<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;(t.isInterrupted())&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;preserve&nbsp;interrupt&nbsp;status&nbsp;so&nbsp;caller&nbsp;can&nbsp;recheck<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>;<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u5e38\u89c4\u81ea\u65cb\u64cd\u4f5c<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">for<\/span>&nbsp;(Node&nbsp;q;;)&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u5982\u679c&nbsp;q\u4e0d\u4e3a\u7a7a&nbsp;\u8bf4\u660eq\u5df2\u7ecf\u88ab\u5360\u4e86<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;((q&nbsp;=&nbsp;slot)&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;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;(U.compareAndSwapObject(<span style=\"color: #c678dd;line-height: 26px;\">this<\/span>,&nbsp;SLOT,&nbsp;q,&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;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u83b7\u53d6\u4ea4\u6362\u503c<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Object&nbsp;v&nbsp;=&nbsp;q.item;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u8bbe\u7f6e\u4ea4\u6362\u503c<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;q.match&nbsp;=&nbsp;item;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thread&nbsp;w&nbsp;=&nbsp;q.parked;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u5524\u9192\u7b49\u5f85\u7ebf\u7a0b<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&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>&nbsp;(w&nbsp;!=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>)<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;U.unpark(w);<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u4ea4\u6362\u6210\u529f\u8fd4\u56de\u7ed3\u679c&nbsp;&nbsp;&nbsp;&nbsp;<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>&nbsp;v;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;CPU\u6838\u6570\u6570\u591a\u4e8e1\u4e2a,&nbsp;\u4e14bound\u4e3a0\u65f6\u521b\u5efaarena\u6570\u7ec4\uff0c\u5e76\u5c06bound\u8bbe\u7f6e\u4e3aSEQ\u5927\u5c0f<\/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>&nbsp;(NCPU&nbsp;&gt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>&nbsp;&amp;&amp;&nbsp;bound&nbsp;==&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>&nbsp;&amp;&amp;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;U.compareAndSwapInt(<span style=\"color: #c678dd;line-height: 26px;\">this<\/span>,&nbsp;BOUND,&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>,&nbsp;SEQ))<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arena&nbsp;=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">new<\/span>&nbsp;Node[(FULL&nbsp;+&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">2<\/span>)&nbsp;&lt;&lt;&nbsp;ASHIFT];<br  \/>&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;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u91cd\u5b9a\u5411\u5230\u591a\u69fd\u4ea4\u6362&nbsp;arenaExchange<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">else<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;(arena&nbsp;!=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/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;\">return<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;caller&nbsp;must&nbsp;reroute&nbsp;to&nbsp;arenaExchange<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">else<\/span>&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u5360\u7528slot<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p.item&nbsp;=&nbsp;item;<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>&nbsp;(U.compareAndSwapObject(<span style=\"color: #c678dd;line-height: 26px;\">this<\/span>,&nbsp;SLOT,&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>,&nbsp;p))<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">break<\/span>;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u5931\u8d25\u8bbe\u7f6e\u4e3anull&nbsp;\u8fdb\u5165\u4e0b\u4e00\u6b21\u81ea\u65cb&nbsp;&nbsp;&nbsp;<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p.item&nbsp;=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u4e0b\u9762\u7684\u64cd\u4f5c\u4e3b\u8981\u662f\u5339\u914d\u7b49\u5f85\u63a5\u6536\u7684\u7ebf\u7a0b<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">int<\/span>&nbsp;h&nbsp;=&nbsp;p.hash;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">long<\/span>&nbsp;end&nbsp;=&nbsp;timed&nbsp;?&nbsp;System.nanoTime()&nbsp;+&nbsp;ns&nbsp;:&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0L<\/span>;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u81ea\u65cb\u7684\u6b21\u6570<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">int<\/span>&nbsp;spins&nbsp;=&nbsp;(NCPU&nbsp;&gt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>)&nbsp;?&nbsp;SPINS&nbsp;:&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Object&nbsp;v;<br  \/><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u5339\u914d\u7ebf\u7a0b\u672a\u5230&nbsp;\u5c31\u8fdb\u5165\u81ea\u65cb<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">while<\/span>&nbsp;((v&nbsp;=&nbsp;p.match)&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;\">if<\/span>&nbsp;(spins&nbsp;&gt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>)&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u4f18\u5316\u64cd\u4f5c<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;h&nbsp;^=&nbsp;h&nbsp;&lt;&lt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>;&nbsp;h&nbsp;^=&nbsp;h&nbsp;&gt;&gt;&gt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">3<\/span>;&nbsp;h&nbsp;^=&nbsp;h&nbsp;&lt;&lt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">10<\/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>&nbsp;(h&nbsp;==&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>)<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;h&nbsp;=&nbsp;SPINS&nbsp;|&nbsp;(<span style=\"color: #c678dd;line-height: 26px;\">int<\/span>)t.getId();<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">else<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;(h&nbsp;&lt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>&nbsp;&amp;&amp;&nbsp;(--spins&nbsp;&amp;&nbsp;((SPINS&nbsp;&gt;&gt;&gt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>)&nbsp;-&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>))&nbsp;==&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>)<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thread.yield();<br  \/>&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;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u8bf4\u660e\u5339\u914d\u7ebf\u7a0b\u5df2\u627e\u5230&nbsp;\u4f46\u662f\u8fd8\u672a\u5b8c\u5168\u51c6\u5907\u597d<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">else<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;(slot&nbsp;!=&nbsp;p)<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;spins&nbsp;=&nbsp;SPINS;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u81ea\u9009\u65f6\u95f4\u8fc7\u957f&nbsp;\u8fd8\u672a\u5339\u914d\u5230\u8fdb\u5165\u963b\u585e\uff0c\u5e38\u89c4\u64cd\u4f5c<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">else<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;(!t.isInterrupted()&nbsp;&amp;&amp;&nbsp;arena&nbsp;==&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>&nbsp;&amp;&amp;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(!timed&nbsp;||&nbsp;(ns&nbsp;=&nbsp;end&nbsp;-&nbsp;System.nanoTime())&nbsp;&gt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0L<\/span>))&nbsp;{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;U.putObject(t,&nbsp;BLOCKER,&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">this<\/span>);<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p.parked&nbsp;=&nbsp;t;<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>&nbsp;(slot&nbsp;==&nbsp;p)<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;U.park(<span style=\"color: #c678dd;line-height: 26px;\">false<\/span>,&nbsp;ns);<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p.parked&nbsp;=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;U.putObject(t,&nbsp;BLOCKER,&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>);<br  \/>&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;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/&nbsp;\u8d85\u65f6&nbsp;\u8ba9\u51fa\u7ed9\u5176\u5b83\u7ebf\u7a0b<\/span><br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">else<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;(U.compareAndSwapObject(<span style=\"color: #c678dd;line-height: 26px;\">this<\/span>,&nbsp;SLOT,&nbsp;p,&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;v&nbsp;=&nbsp;timed&nbsp;&amp;&amp;&nbsp;ns&nbsp;&lt;=&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">0L<\/span>&nbsp;&amp;&amp;&nbsp;!t.isInterrupted()&nbsp;?&nbsp;TIMED_OUT&nbsp;:&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/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;\">break<\/span>;<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;U.putOrderedObject(p,&nbsp;MATCH,&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>);<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p.item&nbsp;=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;p.hash&nbsp;=&nbsp;h;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>&nbsp;v;<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;}<br  \/><\/code><\/pre>\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;\">arenaExchange<\/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;\">\u64cd\u4f5c\u4e0e<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;\">slotExchange<\/code>\u7c7b\u4f3c\uff0c\u4f46\u662f\u5b83\u66f4\u590d\u6742\u4e00\u70b9\uff0c\u9700\u8981\u901a\u8fc7<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;\">index<\/code>\u6765\u547d\u4e2d\uff0c\u8fd9\u91cc\u5c31\u4e0d\u5e26\u5927\u5bb6\u770b\u4e86\uff0c\u6709\u5174\u8da3\u7684\u540c\u5b66\u53ef\u4ee5\u81ea\u5df1\u53bb\u770b\u4e0b<\/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;\">\u4e0b\u8282\u7ed9\u5927\u5bb6\u8bb2\u4e0b<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;\">CountDownLatch<\/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\u5427~\" data-miniprogram-imageurl=\"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/dDva6rRBQ2CJ2D8xJxic8IqfyylPql2sUf2ibfSJBaTAGd9wswBUp7BPyiaYvicLlPM9t6hSlFZgSUSUBlFgpQCTyA\/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;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU4NDcxOTM3OQ==&amp;mid=2247484590&amp;idx=1&amp;sn=c518647803181f8744f82db2c08158c7&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\u8fc7volatile\u5173\u952e\u5b57\u5417 \u8bf4\u8bf4\u770b<\/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=2247484604&amp;idx=1&amp;sn=6c972adc14605693f2849f0a714385e1&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\u8fc7Synchronized\u5417 \u8bf4\u8bf4\u770b<\/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=2247484617&amp;idx=1&amp;sn=46f4035948f6818895ddffc97493b068&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\u4e4bLock\u9501\u7684\u4f7f\u7528<\/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=2247484666&amp;idx=1&amp;sn=4875ee063645c0b31fac566f2e1d8fa5&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\u8fc7ReentrantLock\u7684\u5e95\u5c42\u5b9e\u73b0\u5417\uff1f\u8bf4\u8bf4\u770b<\/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=2247484682&amp;idx=1&amp;sn=33a06045a06abb5dc0b9056bc0a2c72b&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\u8fc7CAS\u548c\u539f\u5b50\u64cd\u4f5c\u5417\uff1f\u8bf4\u8bf4\u770b<\/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=2247484701&amp;idx=1&amp;sn=c3a876326d8e6875cf15b9ef06b03c7f&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\u6c60\u7684\u57fa\u672c\u4f7f\u7528<\/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=2247484749&amp;idx=1&amp;sn=31dc5d4e7d1d154fad16da55108cd5ec&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\u6c60\u7684\u5de5\u4f5c\u539f\u7406\u5417\uff1f\u8bf4\u8bf4\u770b<\/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=2247484767&amp;idx=1&amp;sn=edb1e4223f040a2b9f67f60d669db146&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: \u7ebf\u7a0b\u6c60\u662f\u5982\u4f55\u505a\u5230\u7ebf\u7a0b\u590d\u7528\u7684\uff1f\u6709\u4e86\u89e3\u8fc7\u5417\uff0c\u8bf4\u8bf4\u770b<\/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=2247484794&amp;idx=1&amp;sn=03561ee6b83a1bb1a4041ec2ad8882da&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: \u963b\u585e\u961f\u5217\u6709\u4e86\u89e3\u8fc7\u5417?\u8bf4\u8bf4\u770b<\/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=2247484830&amp;idx=1&amp;sn=33d6a6b5ca5d4f612e23f3a995773be2&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: \u963b\u585e\u961f\u5217\u7684\u5e95\u5c42\u5b9e\u73b0\u6709\u4e86\u89e3\u8fc7\u5417? \u8bf4\u8bf4\u770b<\/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=2247484841&amp;idx=1&amp;sn=5f4a4b0e59cffc5fc6be4753f1a58778&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: \u540c\u6b65\u5bb9\u5668\u548c\u5e76\u53d1\u5bb9\u5668\u6709\u7528\u8fc7\u5417? \u8bf4\u8bf4\u770b<\/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=2247484860&amp;idx=1&amp;sn=e19e594d3b23641a5091a975eb543427&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: CopyOnWrite\u5bb9\u5668\u6709\u4e86\u89e3\u8fc7\u5417? \u8bf4\u8bf4\u770b<\/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=2247484894&amp;idx=1&amp;sn=bdbd1b8969ffe5b8f7f4568d9ba5f300&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: Semaphore\u5728\u9879\u76ee\u4e2d\u6709\u4f7f\u7528\u8fc7\u5417\uff1f\u8bf4\u8bf4\u770b(\u6e90\u7801\u5256\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;\">\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<\/section>\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\/20230528042241581.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\/20230528042241581.jpeg\"><\/noscript><\/p>\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: Exchanger\u5728\u9879\u76ee\u4e2d\u6709\u4f7f\u7528\u8fc7\u5417\uff1f\u8bf4\u8bf4\u770b(\u6e90\u7801\u5256\u6790) \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 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1348,"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-1351","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\/20230528042240566-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042241581.jpeg","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042240566-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042240566.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042241581.jpeg","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042240566-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042240566.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042240566.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042241581.jpeg","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528042241581.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":315,"next_post_id":1284,"next_post_title":"\u9762\u8bd5\u5b98: \u6709\u4e86\u89e3\u8fc7volatile\u5173\u952e\u5b57\u5417 \u8bf4\u8bf4\u770b","previous_post_id":1371,"previous_post_title":"\u9762\u8bd5\u5b98: Stream\u5e76\u884c\u6d41\u6709\u4e86\u89e3\u8fc7\u5417\uff1f\u8bf4\u8bf4\u770b","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1351","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=1351"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/1351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/1348"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}