{"id":68907,"date":"2023-09-28T03:53:49","date_gmt":"2023-09-28T03:53:49","guid":{"rendered":"https:\/\/www.azul.com\/?p=68907"},"modified":"2023-11-20T17:28:20","modified_gmt":"2023-11-20T17:28:20","slug":"jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support","status":"publish","type":"post","link":"https:\/\/www.azul.com\/zh-hans\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/","title":{"rendered":"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301"},"content":{"rendered":"\n<p><em>\u4f5c\u4e3a\u6700\u65b0\u7248 LTS OpenJDK\uff0cJDK 21 \u6700\u91cd\u8981\u7684\u65b0\u529f\u80fd\u662f\u865a\u62df\u7ebf\u7a0b\u3002\u865a\u62df\u7ebf\u7a0b\u53ef\u901a\u8fc7\u4f7f\u7528\u591a\u5bf9\u4e00\u6620\u5c04\u5927\u5e45\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u53ef\u6269\u5c55\u6027\u3002<\/em><\/p>\n\n\n\n<p>JDK 21 \u73b0\u5df2\u53d1\u5e03\uff0c\u5bf9\u4e8e OpenJDK \u4e8c\u8fdb\u5236\u6587\u4ef6\u53d1\u884c\u7248\uff0c\u8fd9\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\u3002\u8fd9\u610f\u5473\u7740\uff0c\u6839\u636e\u60a8\u7684\u5177\u4f53\u53d1\u884c\u7248\uff0cJDK 21 \u4f1a\u8fdb\u884c\u591a\u5e74\u5e38\u89c4\u5b89\u5168\u6027\u66f4\u65b0\u548c\u9488\u5bf9\u9519\u8bef\u4fee\u590d\u7684\u66f4\u65b0\u3002\u5bf9\u4e8e Azul Zulu \u7248\u672c\uff0c\u8be5\u652f\u6301\u81f3\u5c11\u4f1a\u6301\u7eed\u516b\u5e74\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u5f00\u53d1\u8005\u548c\u6700\u7ec8\u7528\u6237\u6765\u8bf4\uff0cJDK 21 \u5907\u53d7\u671f\u5f85\uff0c\u56e0\u4e3a\u8be5\u7248\u672c\u6dfb\u52a0\u4e86\u5f88\u591a\u65b0\u529f\u80fd\u3002\u5728\u8fd9\u65b9\u9762\u53ef\u5c55\u5f00\u8ba8\u8bba\u7684\u5185\u5bb9\u6709\u5f88\u591a\uff0c\u4f46\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u53ea\u8c08\u8bba JDK 21 \u672c\u8eab\u7684\u529f\u80fd\uff0c\u800c\u975e\u81ea\u4e0a\u4e00\u4e2a LTS \u7248\u672c JDK 17 \u4ee5\u6765\u6dfb\u52a0\u7684\u6240\u6709\u529f\u80fd\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u865a\u62df\u7ebf\u7a0b\u7ec8\u4e8e\u6210\u4e3a\u5168\u5e73\u53f0\u529f\u80fd\">\u865a\u62df\u7ebf\u7a0b\u7ec8\u4e8e\u6210\u4e3a\u5168\u5e73\u53f0\u529f\u80fd<\/h2>\n\n\n\n<p>JDK 21 \u91cd\u8981\u7684\u65b0\u529f\u80fd\u5f53\u5c5e\u865a\u62df\u7ebf\u7a0b (<a href=\"https:\/\/openjdk.org\/jeps\/444\" target=\"_blank\" rel=\"noreferrer noopener\">JEP 444<\/a>)\u3002\u81ea JDK 19 \u4ee5\u6765\uff0c\u865a\u62df\u7ebf\u7a0b\u4e00\u76f4\u662f\u9884\u89c8\u7248\u529f\u80fd\uff0c\u800c\u73b0\u5728\u5df2\u6210\u4e3a\u5168\u5e73\u53f0\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u4ece\u6700\u521d\u5f00\u59cb\uff0cJava \u5c31\u901a\u8fc7\u57fa\u7840 Thread \u7c7b\u5c06\u5355\u72ec\u5e76\u53d1\u6267\u884c\u7ebf\u7a0b\u5185\u7f6e\u4e8e\u8bed\u8a00\u4e2d\u3002\u8bb8\u591a\u652f\u6301\u5927\u91cf\u540c\u65f6\u53d1\u751f\u7684\u5ba2\u6237\u7aef\u4ea4\u4e92\u7684\u4f01\u4e1a\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528\u4f17\u6240\u5468\u77e5\u7684 <em>Thread-Per-Request<\/em> \u7f16\u7a0b\u6a21\u5f0f\u3002\u987e\u540d\u601d\u4e49\uff0c\u6bcf\u4e2a\u5ba2\u6237\u7aef\u8fde\u63a5\u90fd\u5206\u914d\u4e86\u81ea\u5df1\u7684\u7ebf\u7a0b\u6765\u5904\u7406\u8be5\u5ba2\u6237\u7aef\u7684\u5de5\u4f5c\uff0c\u65e2\u4e0e\u6240\u6709\u5176\u4ed6\u8fde\u63a5\u9694\u79bb\uff0c\u53c8\u80fd\u4e0e\u6240\u6709\u5176\u4ed6\u8fde\u63a5\u540c\u65f6\u6267\u884c\u3002\u8fd9\u79cd\u65b9\u6cd5\u6536\u6548\u826f\u597d\uff0c\u4f46\u7531\u4e8e Java \u7ebf\u7a0b\u4e0e\u5e95\u5c42\u64cd\u4f5c\u7cfb\u7edf<em>\u5e73\u53f0\u7ebf\u7a0b<\/em>\u662f\u4e00\u5bf9\u4e00\u6620\u5c04\uff0c\u56e0\u6b64\u65e0\u6cd5\u6269\u5c55\u5230\u5927\u91cf\u8fde\u63a5\u3002\u6bcf\u4e2a\u5e73\u53f0\u7ebf\u7a0b\u4ec5\u5728\u63d0\u4f9b\u5806\u6808\u548c\u6838\u5fc3\u529f\u80fd\u65b9\u9762\u5c31\u9700\u8981 2MB \u5185\u5b58\u3002\u5982\u679c\u8981\u652f\u6301\u4e00\u767e\u4e07\u4e2a\u7528\u6237\uff0c\u5c31\u9700\u8981 2TB \u7684\u5185\u5b58\uff01<\/p>\n\n\n\n<p>\u8fd9\u7c7b\u5e94\u7528\u7a0b\u5e8f\u7684\u53e6\u4e00\u4e2a\u666e\u904d\u7279\u70b9\u662f\uff0c\u5b83\u4eec\u5927\u90e8\u5206\u65f6\u95f4\u90fd\u5904\u4e8e\u53d7\u963b\u72b6\u6001\uff0c\u9700\u7b49\u5f85\u6570\u636e\u5e93\u8bbf\u95ee\u3001\u6587\u4ef6\u8bfb\u53d6\u6216\u7f51\u7edc\u8fde\u63a5\u7b49\u64cd\u4f5c\u7684\u5b8c\u6210\u3002<\/p>\n\n\n\n<p>\u865a\u62df\u7ebf\u7a0b\u53ef\u901a\u8fc7\u4f7f\u7528\u591a\u5bf9\u4e00\u6620\u5c04\uff0c\u8ba9\u8fd9\u4e9b\u5e94\u7528\u7a0b\u5e8f\u7684\u53ef\u6269\u5c55\u6027\u5927\u5e45\u63d0\u9ad8\u3002\u5c3d\u7ba1\u4ecd\u7136\u4f7f\u7528 Thread \u7c7b\uff0c\u4f46\u5728\u591a\u5bf9\u4e00\u6620\u5c04\u4e2d\uff0c\u8bb8\u591a\u865a\u62df\u7ebf\u7a0b\u5171\u4eab\u4e00\u4e2a\u5e73\u53f0\u7ebf\u7a0b\u3002\u5f53\u865a\u62df\u7ebf\u7a0b\u4f11\u7720\u4ee5\u8fdb\u884c IO \u65f6\uff0cJVM \u53ef\u4ee5\u901a\u8fc7\u4e0a\u4e0b\u6587\u5207\u6362\u6765\u5207\u6362\u5230\u53e6\u4e00\u4e2a\u5df2\u51c6\u5907\u597d\u8fd0\u884c\u7684\u7ebf\u7a0b\u3002\u5b8c\u6210 IO \u64cd\u4f5c\u540e\uff0c\u521d\u59cb\u7ebf\u7a0b\u5c31\u53ef\u4ee5\u91cd\u65b0\u8fd0\u884c\uff0c\u5e76\u5728\u6709\u53ef\u7528\u7684\u5e73\u53f0\u7ebf\u7a0b\u65f6\u8fd4\u56de\u5e73\u53f0\u7ebf\u7a0b\u3002<\/p>\n\n\n\n<p>\u867d\u7136\u8fd9\u786e\u5b9e\u63d0\u9ad8\u4e86\u8fd9\u7c7b\u5e94\u7528\u7a0b\u5e8f\u7684\u53ef\u6269\u5c55\u6027\uff0c\u4f46\u5b83\u4e0d\u662f\u4e07\u80fd\u7684\uff0c\u4e0d\u5e94\u968f\u5904\u4f7f\u7528\u3002\u5fc5\u987b\u4e86\u89e3\u7684\u662f\uff0c\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u7ba1\u7406\u8fdb\u7a0b\u7684\u65b9\u5f0f\u4e0d\u540c\uff0c\u865a\u62df\u7ebf\u7a0b\u4e0d\u662f\u5206\u65f6\u7684\u3002\u5982\u679c\u4e00\u4e2a\u7ebf\u7a0b\u9700\u8981\u505a\u7684\u662f\u8ba1\u7b97\u5bc6\u96c6\u578b\u800c\u975e IO \u5bc6\u96c6\u578b\u4f5c\u4e1a\uff0c\u4f7f\u7528\u865a\u62df\u7ebf\u7a0b\u53ef\u80fd\u5bfc\u81f4\u53ef\u6269\u5c55\u6027\u548c\u6027\u80fd\u4e0b\u964d\u800c\u975e\u63d0\u9ad8\u3002&nbsp;<\/p>\n\n\n\n<p>JDK 21 \u8fd8\u6709\u5f88\u591a\u5438\u5f15\u5f00\u53d1\u8005\u7684\u5176\u4ed6\u529f\u80fd\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u987a\u5e8f\u96c6\u5408<\/strong><strong> (<\/strong><a href=\"https:\/\/openjdk.org\/jeps\/431\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 431<\/strong><\/a><strong>)<\/strong>\uff1a&nbsp; \u5c3d\u7ba1\u6807\u51c6\u7c7b\u5e93\u5df2\u5305\u542b\u5e26\u6709\u7279\u5b9a\u987a\u5e8f\u7684\u96c6\u5408\uff08\u4f8b\u5982 List\uff09\uff0c\u4f46\u5b83\u4eec\u6ca1\u6709\u901a\u7528\u7c7b\u578b\u3002Java API \u7684\u8fd9\u4e00\u5c0f\u5c0f\u66f4\u6539\u5f15\u5165\u4e86\u4e00\u4e2a\u65b0\u7684\u63a5\u53e3 SequencedCollection\uff0c\u8be5\u63a5\u53e3\u7531\u6240\u6709\u5e26\u7279\u5b9a\u987a\u5e8f\uff08Deque\u3001SortedSet \u7b49\uff09\u7684\u96c6\u5408\u5b9e\u73b0\u3002\u8fd9\u5c06\u7b80\u5316\u67d0\u4e9b\u4ee3\u7801\u6784\u9020\u3002<\/li>\n\n\n\n<li><strong>\u5b57\u7b26\u4e32\u6a21\u677f<\/strong><strong> (<\/strong><a href=\"https:\/\/openjdk.org\/jeps\/430\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 430<\/strong><\/a><strong>)<\/strong>\uff1a\u4f5c\u4e3a\u4e00\u9879\u9884\u89c8\u7248\u529f\u80fd\uff0c\u5b57\u7b26\u4e32\u6a21\u7248\u53ef\u7b80\u5316\u6784\u5efa\u9700\u8981\u5185\u7f6e\u53d8\u91cf\u7ec4\u4ef6\u7684\u5b57\u7b26\u4e32\u7684\u8fc7\u7a0b\u3002\u9664\u4e86\u80fd\u63d2\u5165\u7b80\u5355\u503c\u5916\uff0c\u6a21\u7248\u8fd8\u80fd\u76f4\u63a5\u6dfb\u52a0\u66f4\u591a\u590d\u6742\u8bc4\u4f30\uff0c\u4f8b\u5982\u7b97\u6570\u8fd0\u7b97\u6216\u8c03\u7528\u65b9\u6cd5\u3002<\/li>\n\n\n\n<li><strong>\u6a21\u5f0f\u4f7f\u7528\u589e\u52a0\uff08<\/strong><a href=\"https:\/\/openjdk.org\/jeps\/440\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JEP 440<\/strong><\/a><strong>\u3001<\/strong><a href=\"https:\/\/openjdk.org\/jeps\/441\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>441<\/strong><\/a><strong> <\/strong><strong>\u4ee5\u53ca<\/strong><strong> <\/strong><a href=\"https:\/\/openjdk.org\/jeps\/443\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>443<\/strong><\/a><strong>\uff09<\/strong>\uff1a\u81ea JDK 14 \u4ee5\u6765\uff0c\u6a21\u5f0f\u5339\u914d\u529f\u80fd\u9010\u6b65\u63a8\u51fa\u3002\u4f5c\u4e3a\u4e00\u79cd\u7f16\u7a0b\u6982\u5ff5\uff0c\u6a21\u5f0f\u5339\u914d\u8d77\u6e90\u4e8e\u4e8c\u5341\u4e16\u7eaa 60 \u5e74\u4ee3\u540e\u671f\u3002\u6dfb\u52a0\u7684\u4e0a\u8ff0\u529f\u80fd\u57fa\u4e8e\u5176\u4ed6\u8f83\u65b0\u7684 Java \u529f\u80fd\u6784\u5efa\uff0c\u4f8b\u5982\u8bb0\u5f55\u7c7b\u548c\u5bc6\u5c01\u7c7b\u3002&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>\u5728 JDK 21 \u4e2d\uff0c\u8bb0\u5f55\u6a21\u5f0f\u6210\u4e3a\u4e86\u4e00\u9879\u5b8c\u6574\u529f\u80fd\u3002\u4ee5\u89e3\u6784\u6a21\u5f0f\u4e3a\u4f8b\uff0c\u8bb0\u5f55\u4e2d\u7684\u5185\u5bb9\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7\u6a21\u5f0f\u53d8\u91cf\u8bbf\u95ee\u3002&nbsp;<\/p>\n\n\n\n<p>\u7528\u4e8e\u5207\u6362\u7684\u6a21\u5f0f\u5339\u914d\u4e5f\u6210\u4e3a\u4e86\u4e00\u9879\u5b8c\u6574\u529f\u80fd\uff0c\u8fd9\u8ba9\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u7c7b\u578b\u8fdb\u884c\u5207\u6362\u5e76\u901a\u8fc7\u6a21\u5f0f\u53d8\u91cf\u63d0\u4f9b\u8bbf\u95ee\u6743\u9650\u3002<\/p>\n\n\n\n<p>\u6700\u540e\uff0c\u6211\u4eec\u5f15\u5165\u4e86\u672a\u547d\u540d\u6a21\u5f0f\u548c\u53d8\u91cf\uff0c\u8fd9\u4e5f\u662f\u4e00\u9879\u9884\u89c8\u7248\u529f\u80fd\u3002\u5728\u4e0d\u4f7f\u7528\u6a21\u5f0f\u53d8\u91cf\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u7528\u4e00\u4e2a\u4e0b\u5212\u7ebf\u6765\u8868\u793a\u5b83\u4eec\u7684\u5b58\u5728\uff08\u4f46\u4e0d\u8868\u793a\u5b83\u4eec\u7684\u8be6\u7ec6\u60c5\u51b5\uff09\uff0c\u4ece\u800c\u63d0\u9ad8\u53ef\u8bfb\u6027\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u7ed3\u6784\u5316\u5e76\u53d1\u548c\u4f5c\u7528\u57df\u503c\uff08<\/strong><strong>JEP 453 <\/strong><strong>\u548c<\/strong><strong> 446<\/strong><strong>\uff09<\/strong>\uff1a\u548c\u865a\u62df\u7ebf\u7a0b\u4e00\u6837\uff0c\u8fd9\u4e24\u9879\u529f\u80fd\u90fd\u662f\u66f4\u5927\u7684 OpenJDK Project Loom \u7684\u4e00\u90e8\u5206\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u7ed3\u6784\u5316\u5e76\u53d1\u63d0\u4f9b\u4e86\u4e00\u79cd\u5c06\u4f5c\u4e3a\u72ec\u7acb\u7ebf\u7a0b\u521b\u5efa\u7684\u5b50\u4efb\u52a1\u5206\u5728\u4e00\u7ec4\u7684\u65b9\u6cd5\uff0c\u4ee5\u4fdd\u8bc1\u5b83\u4eec\u90fd\u80fd\u4ee5\u53ef\u9884\u6d4b\u7684\u65b9\u5f0f\u5b8c\u6210\u6216\u5931\u8d25\u3002\u672a\u5b8c\u6210\u7684\u5b50\u4efb\u52a1\u4f1a\u88ab\u4f18\u96c5\u7ec8\u6b62\uff0c\u5e76\u4e14\u5904\u7406\u5f02\u5e38\u7684\u65b9\u5f0f\u4f1a\u4f7f\u8ddf\u8e2a\u548c\u8c03\u8bd5\u66f4\u52a0\u900f\u660e\u3002&nbsp;<\/p>\n\n\n\n<p>\u4f5c\u7528\u57df\u503c\u662f\u7ebf\u7a0b\u672c\u5730\u53d8\u91cf\u7684\u66ff\u4ee3\u3002\u4f7f\u7528\u503c\u4ee3\u66ff\u53d8\u91cf\u53ef\u4ee5\u63d0\u9ad8\u6027\u80fd\uff0c\u5e76\u4f7f\u4ee3\u7801\u66f4\u6613\u4e8e\u7406\u89e3\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u672a\u547d\u540d\u7c7b\u548c\u5b9e\u4f8b\u4e3b\u65b9\u6cd5<\/strong><strong> (JEP 445)<\/strong>\uff1a\u8be5\u529f\u80fd\u65e8\u5728\u8ba9\u4f7f\u7528 Java \u8bed\u8a00\u5f00\u59cb\u7f16\u7a0b\u66f4\u5bb9\u6613\u3002\u5373\u4f7f\u662f\u7528 Java \u7f16\u5199\u6700\u7b80\u5355\u76f4\u63a5\u7684\u201cHello World\u201d\u5e94\u7528\u7a0b\u5e8f\uff0c\u4e5f\u9700\u8981\u5199\u76f8\u5bf9\u5927\u91cf\u7684\u4ee3\u7801\u5e76\u7406\u89e3\u8bb8\u591a\u57fa\u672c\u6982\u5ff5\u3002\u800c\u73b0\u5728\u53ea\u9700\u4e09\u884c\u4ee3\u7801\uff1a<\/li>\n<\/ul>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void main() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(\u201cHello World\u201d);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<\/p>\n\n\n\n<p>\u5305\u62ec\u5bf9 Vector API (<a href=\"https:\/\/openjdk.org\/jeps\/448\" target=\"_blank\" rel=\"noreferrer noopener\">JEP 448<\/a>) \u4ee5\u53ca Foreign Function \u548c Memory API (<a href=\"https:\/\/openjdk.org\/jeps\/442\" target=\"_blank\" rel=\"noreferrer noopener\">JEP 442<\/a>) \u5b75\u5316\u6a21\u5757\u7684\u8fdb\u4e00\u6b65\u66f4\u65b0\u5728\u5185\uff0cJDK 21 \u662f\u81ea JDK 9 \u4ee5\u6765\u529f\u80fd\u6700\u4e30\u5bcc\u7684\u7248\u672c\u3002<\/p>\n\n\n\n<p>Azul \u5c06\u901a\u8fc7\u4e13\u9898\u535a\u5ba2\u6587\u7ae0\u3001\u7f51\u7edc\u7814\u8ba8\u4f1a\u548c\u5f00\u53d1\u8005\u5927\u4f1a\u4e0a\u7684\u6f14\u8bb2\uff0c\u5bf9\u8fd9\u4e9b\u529f\u80fd\u8fdb\u884c\u66f4\u8be6\u7ec6\u7684\u4ecb\u7ecd\u3002\u656c\u8bf7\u67e5\u770b\u6211\u4eec\u7f51\u7ad9\u7684\u5176\u4ed6\u90e8\u5206\uff0c\u627e\u5230\u4e0a\u8ff0\u5185\u5bb9\u7684\u5bf9\u5e94\u94fe\u63a5\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u51c6\u5907\u8bd5\u7528 JDK 21\uff0c\u73b0\u5728\u5c31\u53ef\u4ee5\u4e0b\u8f7d\u6211\u4eec\u63d0\u4f9b\u5546\u4e1a\u652f\u6301\u7684\u514d\u8d39\u7248 OpenJDK Zulu \u7248\u672c\u3002\u4eb2\u81ea\u5c1d\u8bd5\uff0c\u63a2\u7d22\u7cbe\u5f69<\/p>\n\n\n\n\n\n<section    class=\"c-cta-band c-cta-band--color-light c-cta-band--mt-xl c-cta-band--mb-lg c-cta-band--pt-default c-cta-band--pb-default c-cta-band--color-1 o-component o-component--color-light o-component--mt-xl o-component--mb-lg o-component--pt-default o-component--pb-default\"\n\n            id=\"block_0aacb8d79b68729c3b3d621283629f59\"\n    \n    >\n    \n    <div class=\"o-component__wrap\">\n                    <div class=\"o-container\">\n        \n<div class=\"c-cta-band__wrap c-cta-band__wrap--shadow c-cta-band__wrap--bg-white\" id=\"c-cta-band__wrap--block_0aacb8d79b68729c3b3d621283629f59\">\n            \n    <span class=\"o-picture o-picture--background o-picture--cover o-picture--no-radius\">\n\n<picture>\n                        \n            \n            <source\n                media=\"(max-width: 425px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=362&#038;s=0335bcf1c74b388e920435076efb354d 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=724&#038;s=e9c28d978dc52b9b0b1eeb27dcdd8d76 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 767px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=704&#038;s=17870e8e394baff51f8058a36db551de 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=1408&#038;s=a4d1410bfdd59e040018c252040416e3 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 1023px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=960&#038;s=c7dd5d20ab3ff95c0237e432850166ea 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=1920&#038;s=d441e84627d5481b06edf9be7ce0cc29 2x\"\n            >\n                    \n            \n            <source\n                media=\"(max-width: 1440px)\"\n                srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=1120&#038;s=84a306bb22d231110ce97b330c5a8f5c 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=2240&#038;s=22fca0d822c1b8e559396ca7b6563df5 2x\"\n            >\n            \n    <img alt=\"cloud-cta\" class=\"o-picture__image\" height=\"236\" loading=\"lazy\" onerror=\"this.onerror=null;this.srcset=&quot;https:\/\/www.azul.com\/wp-content\/uploads\/cloud-cta-1.png&quot;;while(this.parentNode.getElementsByTagName(&quot;source&quot;).length){this.parentNode.getElementsByTagName(&quot;source&quot;)[0].remove();}\" onload=\"if (this.parentNode.previousElementSibling) this.parentNode.previousElementSibling.remove()\" srcset=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=1120&#038;s=84a306bb22d231110ce97b330c5a8f5c 1x, https:\/\/azul.imgix.net\/wp-content\/uploads\/cloud-cta-1.png?auto=format&#038;crop=faces,entropy&#038;fit=max&#038;q=80&#038;w=2240&#038;s=22fca0d822c1b8e559396ca7b6563df5 2x\" width=\"1120\">\n<\/picture>\n\n\n    <\/span>\n    \n    <div class=\"c-cta-band__content\">\n        <div class=\"c-cta-band__text\" id=\"c-cta-band__text--block_0aacb8d79b68729c3b3d621283629f59\">\n                            \n<h2  class=\"c-cta-band__headline o-headline o-headline--h2 s-medium\"\n    >\n  \u4e0b\u8f7d JDK 21<\/h2>\n            \n                            \n<div  class=\"c-cta-band__description o-description o-description--h4 s-wysiwyg s-wysiwyg--description\"\n\n  >\n  <p>\u67e5\u627e\u9002\u5408\u60a8\u7684\u7248\u672c\u3001\u64cd\u4f5c\u7cfb\u7edf\u548c\u67b6\u6784\u3002<\/p>\n<\/div>\n                    <\/div>\n\n                    <div class=\"c-cta-band__cta\">\n                \n<a  class=\"c-cta-band__cta-btn o-button o-button--navy-900 o-button--white-solid\"\n\n  data-cta-band-modal-id=\"cta-band-form-modal-block_0aacb8d79b68729c3b3d621283629f59\" href='https:\/\/www.azul.com\/downloads\/?blog-090123' target=''\n  >\n  \n  \n  <span class=\"o-button__label\">Learn More<\/span>\n\n  \n  <\/a>\n            <\/div>\n        \n            <\/div>\n<\/div>\n\n\n          <\/div>\n      <\/div>\n<\/section>\n\n<style>\n            #block_0aacb8d79b68729c3b3d621283629f59,\n        #block_0aacb8d79b68729c3b3d621283629f59 input::placeholder {\n            color: light;\n        }\n    <\/style>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u4e3a\u6700\u65b0\u7248 LTS OpenJDK\uff0cJDK 21 \u6700\u91cd\u8981\u7684\u65b0\u529f\u80fd\u662f\u865a\u62df\u7ebf\u7a0b\u3002\u865a\u62df\u7ebf\u7a0b\u53ef\u901a\u8fc7\u4f7f\u7528\u591a\u5bf9\u4e00\u6620\u5c04\u5927\u5e45\u63d0 [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":65107,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[212,266],"tags":[85],"resource_categories":[],"industry":[],"product":[],"role":[],"resource_topic":[],"class_list":["post-68907","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-212","category-java","tag-java-performance"],"acf":{"article_smart_summary":null,"article_sidebar_nav_items":null,"article_cta":null,"block_background_image":null,"block_background_image_sizing":null,"block_background_overflow":null,"block_background_color":null,"inline_link":null,"text_color":null,"block_margin_top":null,"block_padding_top":null,"block_padding_bottom":null,"block_margin_bottom":null,"link":null,"appearance":null,"color":null,"show_arrow":null,"style":null,"image":null,"background_color":null,"background_image":null,"overline":null,"overline_options":null,"headline":null,"headline_options":null,"description":null,"description_options":null,"cta":null,"text_align":null,"chart_type":null,"chart_options":null,"chart_labels":null,"chart_datasets":null,"countdown_date_time":null,"countdown_clock_color":null,"countdown_label_color":null,"size":null,"use_gradient_text":null,"start_color":null,"end_color":null,"name":null,"iconify":null,"logos":null,"form_headline":null,"form_number":null,"form_redirect_enabled":null,"redirect":null,"form_translation_disable":null,"zi_id":null,"zi_fields":null,"zi_lookup_field":null,"cookie_name":null,"cookie_redirect":null,"drift_playbook_campaign_id":null,"input":null,"button":null,"logo":null,"ctas":null,"alignment":null,"cta_alignment":null,"grid_layout":null,"show_featured_images":null,"show_excerpts":null,"featured_image_size":null,"cards":null,"thank_you_page_enable":null,"banner_image":null,"subheadline":null,"download_button":null,"featured_video":null,"additional_videos":null,"smart_content":null,"animation":null,"video_type":null,"vimeo_video_id":null,"youtube_video_id":null,"upload":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301 - Azul | Better Java Performance, Superior Java Support<\/title>\n<meta name=\"description\" content=\"JDK 21 \u73b0\u5df2\u53d1\u5e03\uff0c\u5bf9\u4e8e OpenJDK \u4e8c\u8fdb\u5236\u6587\u4ef6\u53d1\u884c\u7248\uff0c\u8fd9\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\u3002\u8fd9\u610f\u5473\u7740\uff0c\u6839\u636e\u60a8\u7684\u5177\u4f53\u53d1\u884c\u7248\uff0cJDK 21 \u4f1a\u8fdb\u884c\u591a\u5e74\u5e38\u89c4\u5b89\u5168\u6027\u66f4\u65b0\u548c\u9488\u5bf9\u9519\u8bef\u4fee\u590d\u7684\u66f4\u65b0\u3002\u5bf9\u4e8e Azul Zulu \u7248\u672c\uff0c\u8be5\u652f\u6301\u81f3\u5c11\u4f1a\u6301\u7eed\u516b\u5e74\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301\" \/>\n<meta property=\"og:description\" content=\"\u4f5c\u4e3a\u6700\u65b0\u7248 LTS OpenJDK\uff0cJDK 21 \u6700\u91cd\u8981\u7684\u65b0\u529f\u80fd\u662f\u865a\u62df\u7ebf\u7a0b\u3002\u865a\u62df\u7ebf\u7a0b\u53ef\u901a\u8fc7\u4f7f\u7528\u591a\u5bf9\u4e00\u6620\u5c04\u5927\u5e45\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u53ef\u6269\u5c55\u6027\u3002 JDK 21 \u73b0\u5df2\u53d1\u5e03\uff0c\u5bf9\u4e8e OpenJDK \u4e8c\u8fdb\u5236\u6587\u4ef6\u53d1\u884c\u7248\uff0c\u8fd9\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\u3002\u8fd9\u610f\u5473\u7740\uff0c\u6839\u636e\u60a8\u7684\u5177\u4f53\u53d1\u884c\u7248\uff0cJDK 21\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/\" \/>\n<meta property=\"og:site_name\" content=\"Azul | Better Java Performance, Superior Java Support\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AzulSystemsInc\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-28T03:53:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-20T17:28:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.azul.com\/wp-content\/uploads\/2023-9-28-JDK21.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1278\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Simon Ritter\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azulsystems\" \/>\n<meta name=\"twitter:site\" content=\"@azulsystems\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon Ritter\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/\"},\"author\":{\"name\":\"Simon Ritter\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/person\\\/b1e724016f581dde70eb8e5d431db93e\"},\"headline\":\"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301\",\"datePublished\":\"2023-09-28T03:53:49+00:00\",\"dateModified\":\"2023-11-20T17:28:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/\"},\"wordCount\":93,\"publisher\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2023-9-28-JDK21.jpg\",\"keywords\":[\"Java performance\"],\"articleSection\":{\"1\":\"Java\"},\"inLanguage\":\"zh-CN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/\",\"url\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/\",\"name\":\"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301 - Azul | Better Java Performance, Superior Java Support\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2023-9-28-JDK21.jpg\",\"datePublished\":\"2023-09-28T03:53:49+00:00\",\"dateModified\":\"2023-11-20T17:28:20+00:00\",\"description\":\"JDK 21 \u73b0\u5df2\u53d1\u5e03\uff0c\u5bf9\u4e8e OpenJDK \u4e8c\u8fdb\u5236\u6587\u4ef6\u53d1\u884c\u7248\uff0c\u8fd9\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\u3002\u8fd9\u610f\u5473\u7740\uff0c\u6839\u636e\u60a8\u7684\u5177\u4f53\u53d1\u884c\u7248\uff0cJDK 21 \u4f1a\u8fdb\u884c\u591a\u5e74\u5e38\u89c4\u5b89\u5168\u6027\u66f4\u65b0\u548c\u9488\u5bf9\u9519\u8bef\u4fee\u590d\u7684\u66f4\u65b0\u3002\u5bf9\u4e8e Azul Zulu \u7248\u672c\uff0c\u8be5\u652f\u6301\u81f3\u5c11\u4f1a\u6301\u7eed\u516b\u5e74\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2023-9-28-JDK21.jpg\",\"contentUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2023-9-28-JDK21.jpg\",\"width\":1278,\"height\":500,\"caption\":\"JDK 21 Delivers Virtual Threads, Other New Features, and Long-Term Support\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/blog\\\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#website\",\"url\":\"https:\\\/\\\/www.azul.com\\\/\",\"name\":\"Azul | Better Java Performance, Superior Java Support\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.azul.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#organization\",\"name\":\"Azul\",\"alternateName\":\"Azul Systems\",\"url\":\"https:\\\/\\\/www.azul.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/logo.svg\",\"width\":112,\"height\":48,\"caption\":\"Azul\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/AzulSystemsInc\",\"https:\\\/\\\/x.com\\\/azulsystems\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCSoJZa--HhjV9iXtbHUmm8A\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/azul-systems\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/person\\\/b1e724016f581dde70eb8e5d431db93e\",\"name\":\"Simon Ritter\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa4f8fc720e923ce96ef96a6d209711651d7e43d2c272424e0016ec40af590b2?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa4f8fc720e923ce96ef96a6d209711651d7e43d2c272424e0016ec40af590b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa4f8fc720e923ce96ef96a6d209711651d7e43d2c272424e0016ec40af590b2?s=96&d=mm&r=g\",\"caption\":\"Simon Ritter\"},\"description\":\"Deputy CTO and Java Champion, Azul\",\"url\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/author\\\/sritter\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301 - Azul | Better Java Performance, Superior Java Support","description":"JDK 21 \u73b0\u5df2\u53d1\u5e03\uff0c\u5bf9\u4e8e OpenJDK \u4e8c\u8fdb\u5236\u6587\u4ef6\u53d1\u884c\u7248\uff0c\u8fd9\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\u3002\u8fd9\u610f\u5473\u7740\uff0c\u6839\u636e\u60a8\u7684\u5177\u4f53\u53d1\u884c\u7248\uff0cJDK 21 \u4f1a\u8fdb\u884c\u591a\u5e74\u5e38\u89c4\u5b89\u5168\u6027\u66f4\u65b0\u548c\u9488\u5bf9\u9519\u8bef\u4fee\u590d\u7684\u66f4\u65b0\u3002\u5bf9\u4e8e Azul Zulu \u7248\u672c\uff0c\u8be5\u652f\u6301\u81f3\u5c11\u4f1a\u6301\u7eed\u516b\u5e74\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/","og_locale":"zh_CN","og_type":"article","og_title":"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301","og_description":"\u4f5c\u4e3a\u6700\u65b0\u7248 LTS OpenJDK\uff0cJDK 21 \u6700\u91cd\u8981\u7684\u65b0\u529f\u80fd\u662f\u865a\u62df\u7ebf\u7a0b\u3002\u865a\u62df\u7ebf\u7a0b\u53ef\u901a\u8fc7\u4f7f\u7528\u591a\u5bf9\u4e00\u6620\u5c04\u5927\u5e45\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u53ef\u6269\u5c55\u6027\u3002 JDK 21 \u73b0\u5df2\u53d1\u5e03\uff0c\u5bf9\u4e8e OpenJDK \u4e8c\u8fdb\u5236\u6587\u4ef6\u53d1\u884c\u7248\uff0c\u8fd9\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\u3002\u8fd9\u610f\u5473\u7740\uff0c\u6839\u636e\u60a8\u7684\u5177\u4f53\u53d1\u884c\u7248\uff0cJDK 21","og_url":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/","og_site_name":"Azul | Better Java Performance, Superior Java Support","article_publisher":"https:\/\/www.facebook.com\/AzulSystemsInc","article_published_time":"2023-09-28T03:53:49+00:00","article_modified_time":"2023-11-20T17:28:20+00:00","og_image":[{"width":1278,"height":500,"url":"https:\/\/www.azul.com\/wp-content\/uploads\/2023-9-28-JDK21.jpg","type":"image\/jpeg"}],"author":"Simon Ritter","twitter_card":"summary_large_image","twitter_creator":"@azulsystems","twitter_site":"@azulsystems","twitter_misc":{"\u4f5c\u8005":"Simon Ritter","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/#article","isPartOf":{"@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/"},"author":{"name":"Simon Ritter","@id":"https:\/\/www.azul.com\/#\/schema\/person\/b1e724016f581dde70eb8e5d431db93e"},"headline":"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301","datePublished":"2023-09-28T03:53:49+00:00","dateModified":"2023-11-20T17:28:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/"},"wordCount":93,"publisher":{"@id":"https:\/\/www.azul.com\/#organization"},"image":{"@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/#primaryimage"},"thumbnailUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2023-9-28-JDK21.jpg","keywords":["Java performance"],"articleSection":{"1":"Java"},"inLanguage":"zh-CN"},{"@type":"WebPage","@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/","url":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/","name":"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301 - Azul | Better Java Performance, Superior Java Support","isPartOf":{"@id":"https:\/\/www.azul.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/#primaryimage"},"image":{"@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/#primaryimage"},"thumbnailUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2023-9-28-JDK21.jpg","datePublished":"2023-09-28T03:53:49+00:00","dateModified":"2023-11-20T17:28:20+00:00","description":"JDK 21 \u73b0\u5df2\u53d1\u5e03\uff0c\u5bf9\u4e8e OpenJDK \u4e8c\u8fdb\u5236\u6587\u4ef6\u53d1\u884c\u7248\uff0c\u8fd9\u662f\u4e00\u4e2a\u957f\u671f\u652f\u6301 (LTS) \u7248\u672c\u3002\u8fd9\u610f\u5473\u7740\uff0c\u6839\u636e\u60a8\u7684\u5177\u4f53\u53d1\u884c\u7248\uff0cJDK 21 \u4f1a\u8fdb\u884c\u591a\u5e74\u5e38\u89c4\u5b89\u5168\u6027\u66f4\u65b0\u548c\u9488\u5bf9\u9519\u8bef\u4fee\u590d\u7684\u66f4\u65b0\u3002\u5bf9\u4e8e Azul Zulu \u7248\u672c\uff0c\u8be5\u652f\u6301\u81f3\u5c11\u4f1a\u6301\u7eed\u516b\u5e74\u3002","breadcrumb":{"@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/#primaryimage","url":"https:\/\/www.azul.com\/wp-content\/uploads\/2023-9-28-JDK21.jpg","contentUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2023-9-28-JDK21.jpg","width":1278,"height":500,"caption":"JDK 21 Delivers Virtual Threads, Other New Features, and Long-Term Support"},{"@type":"BreadcrumbList","@id":"https:\/\/www.azul.com\/blog\/jdk-21-delivers-virtual-threads-other-new-features-and-long-term-support\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.azul.com\/zh-hans\/"},{"@type":"ListItem","position":2,"name":"JDK 21 \u63d0\u4f9b\u865a\u62df\u7ebf\u7a0b\u7b49\u65b0\u529f\u80fd\u4ee5\u53ca\u957f\u671f\u652f\u6301"}]},{"@type":"WebSite","@id":"https:\/\/www.azul.com\/#website","url":"https:\/\/www.azul.com\/","name":"Azul | Better Java Performance, Superior Java Support","description":"","publisher":{"@id":"https:\/\/www.azul.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.azul.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-CN"},{"@type":"Organization","@id":"https:\/\/www.azul.com\/#organization","name":"Azul","alternateName":"Azul Systems","url":"https:\/\/www.azul.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/www.azul.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.azul.com\/wp-content\/uploads\/2021\/01\/logo.svg","contentUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2021\/01\/logo.svg","width":112,"height":48,"caption":"Azul"},"image":{"@id":"https:\/\/www.azul.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/AzulSystemsInc","https:\/\/x.com\/azulsystems","https:\/\/www.youtube.com\/channel\/UCSoJZa--HhjV9iXtbHUmm8A","https:\/\/www.linkedin.com\/company\/azul-systems"]},{"@type":"Person","@id":"https:\/\/www.azul.com\/#\/schema\/person\/b1e724016f581dde70eb8e5d431db93e","name":"Simon Ritter","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/secure.gravatar.com\/avatar\/aa4f8fc720e923ce96ef96a6d209711651d7e43d2c272424e0016ec40af590b2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aa4f8fc720e923ce96ef96a6d209711651d7e43d2c272424e0016ec40af590b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aa4f8fc720e923ce96ef96a6d209711651d7e43d2c272424e0016ec40af590b2?s=96&d=mm&r=g","caption":"Simon Ritter"},"description":"Deputy CTO and Java Champion, Azul","url":"https:\/\/www.azul.com\/zh-hans\/blog\/author\/sritter\/"}]}},"_links":{"self":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts\/68907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=68907"}],"version-history":[{"count":0,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts\/68907\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/media\/65107"}],"wp:attachment":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=68907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=68907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=68907"},{"taxonomy":"resource_categories","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/resource_categories?post=68907"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/industry?post=68907"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/product?post=68907"},{"taxonomy":"role","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/role?post=68907"},{"taxonomy":"resource_topic","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/resource_topic?post=68907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}