{"id":74181,"date":"2024-08-13T14:44:46","date_gmt":"2024-08-13T14:44:46","guid":{"rendered":"https:\/\/www.azul.com\/?p=74181"},"modified":"2024-09-02T20:12:11","modified_gmt":"2024-09-02T20:12:11","slug":"how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste","status":"publish","type":"post","link":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/","title":{"rendered":"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39"},"content":{"rendered":"\n<p><em>Azul <\/em><em>\u4e91\u6210\u672c\u4f18\u5316\u4e13\u5bb6\u7814\u7a76\u4e86\u516c\u53f8\u5728\u4e91\u6210\u672c\u65b9\u9762\u9762\u4e34\u6311\u6218\u7684\u539f\u56e0\u3002\u7ecf\u8fc7\u4ed4\u7ec6\u8c03\u67e5\uff0c\u4ed6\u4eec\u53d1\u73b0\u4e86<\/em><a href=\"https:\/\/www.azul.com\/uncovering-cloud-cost-optimization-myths\/\"><em>\u516d\u4e2a\u9519\u8bef\u4f46\u5e7f\u4e3a\u6d41\u4f20\u7684<\/em><em> Java <\/em><em>\u4e91\u6210\u672c\u4f18\u5316\u8c2c\u89c1<\/em><\/a><em>\uff0c\u5e76\u5bf9\u6b64\u5206\u522b\u63d0\u51fa\u4e86\u4e8b\u5b9e\u53cd\u9a73\u3002<\/em><em>&nbsp;<\/em><\/p>\n\n\n\n<p><strong><em>\u8c2c\u89c1\uff1a<\/em><\/strong><em>\u6240\u6709<\/em><em> Java <\/em><em>\u8fd0\u884c\u65f6\u90fd\u662f\u76f8\u540c\u7684\u3002<\/em>&nbsp;<\/p>\n\n\n\n<p><strong><em>\u73b0\u5b9e\uff1a<\/em><\/strong><em>\u884c\u4e1a\u5206\u6790\u5e08\u548c\u8fd0\u884c\u73b0\u4ee3\u4e91\u67b6\u6784\u7684\u9886\u5148\u516c\u53f8\u4e00\u81f4\u8ba4\u4e3a\uff0c\u4f7f\u7528\u5177\u6709<\/em><em> JIT <\/em><em>\u7f16\u8bd1\u529f\u80fd\u7684\u9ad8\u6027\u80fd<\/em><em> Java <\/em><em>\u8fd0\u884c\u65f6\u53ef\u4ee5\u63d0\u9ad8<\/em><em> Java <\/em><em>\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\uff0c\u5e76\u51cf\u5c11\u4e91\u6d6a\u8d39\u3002<\/em>&nbsp;<\/p>\n\n\n\n<p>\u8fd9\u662f\u4e00\u79cd\u5e38\u89c1\u8bef\u89e3\uff0c\u4f1a\u8ba9\u60a8\u548c\u56e2\u961f\u4ed8\u51fa\u6570\u767e\u4e07\u7f8e\u5143\u7684\u4ee3\u4ef7\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-medium\"><a href=\"https:\/\/www.azul.com\/report\/2023-state-of-java\/\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"159\" src=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/Java-adoption-SoJ23-300x159.png?auto=format&crop=faces,entropy&fit=max&q=80&s=6922cf81301ca8ce4822f036ffdf21d0\" alt=\"Chart: Java adoption according to the Azul State of Java Survey &amp; Report 2023\" class=\"wp-image-73273\"\/><\/a><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/www.azul.com\/report\/2023-state-of-java\/\">State of Java Survey &amp; Report 2023<\/a><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Java \u4ecd\u7136\u662f\u6784\u5efa\u7f51\u7ad9\u3001\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u548c\u5206\u5e03\u5f0f\u6570\u636e\u5904\u7406\u6846\u67b6\u7b49\u7684\u6700\u70ed\u95e8\u8bed\u8a00\u4e4b\u4e00\uff08\u6765\u6e90\uff1a<a href=\"https:\/\/blog.jetbrains.com\/idea\/2024\/07\/is-java-still-relevant-nowadays\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u300aJava \u5982\u4eca\u662f\u5426\u4ecd\u6709\u5b9e\u7528\u4ef7\u503c\uff1f\u300b<\/a><a href=\"https:\/\/blog.jetbrains.com\/idea\/2024\/07\/is-java-still-relevant-nowadays\/\" target=\"_blank\" rel=\"noreferrer noopener\">Jetbrains\uff0c2024 \u5e74 7 \u6708<\/a>\uff09\uff0c\u800c\u8fd9\u4e00\u5207\u6b63\u662f\u5e7f\u544a\u79d1\u6280\u3001\u91d1\u878d\u79d1\u6280\u3001\u6e38\u620f\u3001\u7535\u5b50\u5546\u52a1\u3001\u9ad8\u6027\u80fd\u4ea4\u6613\uff0c\u4ee5\u53ca\u5728\u7ebf\u65c5\u884c\u4e0e\u9884\u8ba2\u884c\u4e1a\u6240\u5fc5\u9700\u7684\u3002Azul \u7684 <a href=\"https:\/\/www.azul.com\/report\/2023-state-of-java\/\">2023 \u5e74\u300aJava \u73b0\u72b6\u8c03\u67e5\u4e0e\u62a5\u544a\u300b<\/a>\u8fd8\u663e\u793a\uff0cJava \u5728\u5546\u4e1a\u4f01\u4e1a\u4e2d\u51e0\u4e4e\u5f97\u5230\u666e\u904d\u91c7\u7528\u3002<\/p>\n\n\n\n<p>\u800c\u6570\u5b57\u4e1a\u52a1\u662f\u5728\u4e91\u7aef\u8fd0\u884c\u7684\u3002\u660e\u767d\u6211\u4eec\u7684\u610f\u601d\u5417\uff1f&nbsp;<\/p>\n\n\n\n<p>\u53ef\u4ee5\u8bf4\uff0c\u60a8\u5f88\u53ef\u80fd\u53ea\u5173\u6ce8\u60a8\u4f7f\u7528\u7684 Java \u6846\u67b6\uff0c\u6216\u60a8\u6b63\u5728\u4f7f\u7528\u7684\u7248\u672c\u3002\u60a8\u4f1a\u82b1\u8d39\u65f6\u95f4\u601d\u8003\u529f\u80fd\u7684\u8fed\u4ee3\u901f\u5ea6\u4ee5\u53ca\u5982\u4f55\u4ee5\u6700\u5feb\u7684\u901f\u5ea6\u8fdb\u5165\u5e02\u573a\uff0c\u540c\u65f6\u63d0\u4f9b\u6700\u4f73\u5ba2\u6237\u4f53\u9a8c\u3002&nbsp; \u6216\u8005\uff0c\u4e5f\u8bb8\u60a8\u8fd8\u5e0c\u671b\u5728\u63d0\u4f9b\u6700\u4f73\u5ba2\u6237\u4f53\u9a8c\u7684\u540c\u65f6\uff0c\u5c06 Java \u8d44\u4ea7\u7684\u62e5\u6709\u6210\u672c\u7ef4\u6301\u5728\u8f83\u4f4e\u6c34\u5e73<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.azul.com\/uncovering-cloud-cost-optimization-myths\/\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/2024-08-06-CCO-Myths-TeaserM.png?auto=format&crop=faces,entropy&fit=max&q=80&s=7cd9cce0b8685e765711d3f5e0af5c83\" alt=\"Java Cloud Cost Optimization Myths - Your choice of JVM and JIT compilation can help reduce cloud waste\" class=\"wp-image-73111\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-java-\u5c31\u662f-java-\u4e0d\u662f\u8fd9\u6837\u5417-\u5e76\u975e\u5982\u6b64\">Java \u5c31\u662f Java\uff0c\u4e0d\u662f\u8fd9\u6837\u5417\uff1f\u5e76\u975e\u5982\u6b64\u3002<\/h2>\n\n\n\n<p>\u60a8\u662f\u5426\u66fe\u7ecf\u505c\u4e0b\u6765\u601d\u8003\u8fc7\uff0c\u60a8\u4f7f\u7528\u7684\u662f\u4ec0\u4e48 Java \u865a\u62df\u673a\uff1f&nbsp; \u5e76\u975e\u6240\u6709 Java \u8fd0\u884c\u65f6\u90fd\u662f\u76f8\u540c\u7684\u3002\u867d\u7136\u5927\u591a\u6570 Java \u53d1\u884c\u7248\u53ea\u662f OpenJDK \u7684\u6807\u51c6\u526f\u672c\uff08\u5305\u62ec Oracle\u3001Temurin \u548c Amazon Corretto \u7684\u53d1\u884c\u7248\uff09\uff0c\u53ea\u5bf9 OpenJDK \u8fdb\u884c\u4e86\u666e\u901a\u5c01\u88c5\u3002&nbsp;<\/p>\n\n\n\n<p>\u7136\u800c\uff0c\u4e00\u4e9b JVM \u63d0\u4f9b\u4e86\u5de8\u5927\u4f18\u52bf\u3002\u60a8\u5bf9 JVM \u7684\u9009\u62e9\u81f3\u5173\u91cd\u8981\u3002\u4e00\u4e9b JVM \u7ecf\u8fc7\u8bbe\u8ba1\uff0c\u53ef\u589e\u5f3a Java \u5de5\u4f5c\u8d1f\u8f7d\uff0c\u4f7f\u5176\u8fd0\u884c\u66f4\u5feb\u3001\u90e8\u7f72\u66f4\u5bb9\u6613\u3001\u4f7f\u7528\u7684\u8ba1\u7b97\u8d44\u6e90\u66f4\u5c11\u3002&nbsp;<\/p>\n\n\n\n<p>\u6211\u4eec\u53d1\u73b0\uff0cJava \u7684\u8fd0\u884c\u901f\u5ea6\u8d8a\u5feb\uff0c\u5176\u4f7f\u7528\u7684\u8ba1\u7b97\u8d44\u6e90\u5c31\u8d8a\u5c11\uff0c\u4ece\u800c\u6709\u52a9\u4e8e\u51cf\u5c11\u4e91\u6d6a\u8d39\u73b0\u8c61\u7684\u4ea7\u751f\u3002\u60a8\u77e5\u9053\u5417\uff1f &nbsp;\u6709\u4e00\u79cd\u9ad8\u6027\u80fd\u7684 Java \u8fd0\u884c\u65f6\uff0c\u5b83\u7ecf\u8fc7\u4e13\u95e8\u4f18\u5316\uff0c\u53ef\u901a\u8fc7\u52a0\u5feb\u4ee3\u7801\u8fd0\u884c\u901f\u5ea6\u6765\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u6027\u80fd\uff0c\u540c\u65f6\u51cf\u5c11\u4e91\u6d6a\u8d39\u3002&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u8ba9\u6211\u4eec\u6df1\u5165\u5730\u63a2\u8ba8\u8fd9\u4e2a\u95ee\u9898\">\u8ba9\u6211\u4eec\u6df1\u5165\u5730\u63a2\u8ba8\u8fd9\u4e2a\u95ee\u9898<\/h2>\n\n\n\n<p>\u5982\u4eca\uff0c\u4e3a\u4e86\u5e94\u5bf9\u5cf0\u503c\u8d1f\u8f7d\uff0c\u5927\u591a\u6570\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u4f1a\u8fdb\u884c\u8fc7\u5ea6\u9884\u914d\u7f6e\u3002\u4f46\u662f\uff0c\u4e3a\u4ec0\u4e48\u8981\u652f\u4ed8\u6240\u6709\u8fd9\u4e9b\u8d44\u672c\u652f\u51fa\u6765\u9884\u914d\u7f6e\u8db3\u4ee5\u5e94\u5bf9\u5cf0\u503c\u8d1f\u8f7d\u7684\u786c\u4ef6\uff0c\u7136\u540e\u518d\u82b1\u8d39\u8fd0\u8425\u6210\u672c\u6765\u4e3a\u8fd9\u4e9b\u673a\u5668\u4f9b\u7535\u3001\u6563\u70ed\u548c\u7ef4\u62a4\uff1f\u4e0d\u5982\u8ba9 Amazon\u3001Microsoft \u6216 Google \u7b49\u516c\u53f8\u4e3a\u60a8\u5904\u7406\u8fd9\u4e9b\u4e8b\u52a1\uff0c\u60a8\u53ea\u9700\u50cf\u652f\u4ed8\u7535\u8d39\u4e00\u6837\uff0c\u652f\u4ed8\u4f7f\u7528\u8d39\u7528\u3002&nbsp;<\/p>\n\n\n\n<p>\u8fd9\u5c31\u662f\u4e91\u8ba1\u7b97\u7684\u627f\u8bfa\uff1a\u901a\u8fc7\u57fa\u4e8e\u6548\u7528\u7684\u5b9a\u4ef7\u6a21\u5f0f\uff0c\u4ee5\u8f83\u4f4e\u7684\u6210\u672c\u8fd0\u884c\u4efb\u52a1\u5173\u952e\u578b\u4f01\u4e1a\u5e94\u7528\u7a0b\u5e8f\u3002&nbsp;<\/p>\n\n\n\n<p>\u9057\u61be\u7684\u662f\uff0c\u73b0\u5b9e\u4e2d\u7684\u7ed3\u679c\u5f80\u5f80\u6709\u6240\u4e0d\u540c\uff0c\u4eba\u4eec\u53d1\u73b0\uff0c\u8fc1\u79fb\u5230\u4e91\u7aef\u7684\u6210\u672c\u6bd4\u672c\u5730\u6258\u7ba1\u66f4\u9ad8\u3002\u4e3a\u4ec0\u4e48\u4f1a\u8fd9\u6837\uff0c\u6211\u4eec\u53c8\u8be5\u5982\u4f55\u89e3\u51b3\uff1f&nbsp;<\/p>\n\n\n\n<p>\u8ba9\u6211\u4eec\u6765\u4e13\u95e8\u770b\u770b<a href=\"https:\/\/thenewstack.io\/java-22-making-java-more-attractive-for-ai-apps-workloads\/?nab=1\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f7f\u7528 Java<\/a> \u7f16\u5199\u7684 JVM \u5e94\u7528\u7a0b\u5e8f\u3002\u8bb8\u591a\u5176\u4ed6\u8bed\u8a00\u7f16\u5199\u7684\u4ee3\u7801\uff0c\u5982 <a href=\"https:\/\/thenewstack.io\/angular-18-kotlins-new-compiler-astro-adds-react-19-support\/?nab=1\" target=\"_blank\" rel=\"noreferrer noopener\">Kotlin<\/a>\u3001<a href=\"https:\/\/thenewstack.io\/scala-creator-proposes-lean-scala-for-simpler-code\/?nab=1\" target=\"_blank\" rel=\"noreferrer noopener\">Scala<\/a> \u548c <a href=\"https:\/\/thenewstack.io\/the-new-stack-makers-adrian-cockcroft-on-sun-netflix-clojure-go-docker-and-more\/?nab=1\" target=\"_blank\" rel=\"noreferrer noopener\">Clojure<\/a>\uff0c\u7ecf\u8fc7\u7f16\u8bd1\uff0c\u4e5f\u53ef\u4ee5\u5728 JVM \u4e0a\u8fd0\u884c\u3002&nbsp;<\/p>\n\n\n\n<p><a href=\"http:\/\/microservices\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5fae\u670d\u52a1<\/a>\u4e3a\u67b6\u6784\u57fa\u4e8e\u4e91\u7684\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u4e86\u73b0\u4ee3\u5316\u7684\u65b9\u6cd5\u3002\u6bd4\u8d77\u5f00\u53d1\u5355\u4e00\u7684\u5355\u4f53\u5e94\u7528\u7a0b\u5e8f\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5e94\u7528\u7a0b\u5e8f\u62c6\u5206\u6210\u80fd\u591f\u677e\u6563\u8026\u5408\u4f46\u53c8\u9ad8\u5ea6\u5185\u805a\u7684\u5206\u6563\u670d\u52a1\u3002\u8fd9\u6837\u4e00\u6765\uff0c\u5f53\u4e00\u9879\u670d\u52a1\u6210\u4e3a\u6027\u80fd\u74f6\u9888\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u542f\u52a8\u8be5\u670d\u52a1\u7684\u65b0\u5b9e\u4f8b\uff0c\u5747\u8861\u4f7f\u7528\u8d1f\u8f7d\uff0c\u6d88\u9664\u74f6\u9888\uff0c\u800c\u65e0\u9700\u66f4\u6539\u7cfb\u7edf\u7684\u5176\u4ed6\u90e8\u5206\u3002&nbsp;<\/p>\n\n\n\n<p>\u5728\u8fd9\u91cc\uff0cJVM \u7684\u4e00\u9879\u6838\u5fc3\u529f\u80fd\u53ef\u80fd\u5bfc\u81f4\u4e91\u8d44\u6e90\u7684\u6d6a\u8d39\u3002&nbsp;<\/p>\n\n\n\n<p>\u4e3a\u4e86\u5151\u73b0\u201c\u4e00\u6b21\u7f16\u5199\uff0c\u968f\u5904\u8fd0\u884c\u201d\u7684\u627f\u8bfa<em>\uff0c<\/em>Java \u5e94\u7528\u7a0b\u5e8f\u4f1a\u7f16\u8bd1\u5b57\u8282\u7801<em>\uff0c<\/em>\u5373\u9488\u5bf9\u865a\u62df\u673a\uff08\u800c\u975e\u7279\u5b9a\u5904\u7406\u5668\uff09\u7684\u6307\u4ee4\u3002\u5f53 Java \u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u65f6\uff0cJVM \u4f1a\u5bf9\u5176\u8fdb\u884c\u5206\u6790\uff0c\u627e\u51fa\u53ef\u7f16\u8bd1\u4e3a\u539f\u751f\u4ee3\u7801\u7684\u5e38\u7528\u4ee3\u7801\u70ed\u70b9\u3002\u8fd9\u79cd\u5373\u65f6 (JIT) \u7f16\u8bd1\u53ef\u63d0\u4f9b\u51fa\u8272\u7684\u6027\u80fd\uff0c\u56e0\u4e3a JVM \u53ef\u4ee5\u51c6\u786e\u5730\u77e5\u9053\u4ee3\u7801\u5c06\u5982\u4f55\u4f7f\u7528\uff0c\u5e76\u636e\u6b64\u8fdb\u884c\u4f18\u5316\u3002&nbsp;<\/p>\n\n\n\n<p>\u7136\u800c\uff0c\u8bc6\u522b\u548c\u7f16\u8bd1\u6240\u6709\u5e38\u7528\u4ee3\u7801\u6bb5\u6240\u9700\u7684\u65f6\u95f4\u53ef\u80fd\u6bd4\u9884\u671f\u66f4\u957f\uff0c\u8fd9\u5b9e\u9645\u4e0a\u662f\u4e00\u4e2a\u8f83\u590d\u6742\u7684\u591a\u9636\u6bb5\u8fc7\u7a0b\u3002\u5bf9\u4e8e Web \u6216\u5e94\u7528\u7a0b\u5e8f\u670d\u52a1\u5668\u7b49\u957f\u65f6\u95f4\u8fd0\u884c\u7684\u8fdb\u7a0b\u6765\u8bf4\uff0c\u8fd9\u79cd\u9884\u70ed\u65f6\u95f4\u901a\u5e38\u4e0d\u662f\u95ee\u9898\u3002\u800c\u5fae\u670d\u52a1\u53ef\u80fd\u4f1a\u9891\u7e41\u5730\u542f\u52a8\u548c\u505c\u6b62\uff0c\u4ee5\u4fbf\u52a8\u6001\u54cd\u5e94\u8d1f\u8f7d\u53d8\u5316\u3002\u5728\u5fae\u670d\u52a1\u63d0\u4f9b\u5168\u90e8\u627f\u8f7d\u80fd\u529b\u4e4b\u524d\uff0c\u7b49\u5f85\u5176\u5b8c\u6210\u9884\u70ed\u5c06\u964d\u4f4e\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u52bf\u3002&nbsp;<\/p>\n\n\n\n<p>\u5e38\u7528\u7684\u89e3\u51b3\u65b9\u6848\u662f\u542f\u52a8\u670d\u52a1\u7684\u591a\u4e2a\u5b9e\u4f8b\uff0c\u5e76\u8ba9\u5b83\u4eec\u4fdd\u6301\u8fd0\u884c\uff0c\u4ee5\u4fbf\u5728\u9700\u8981\u65f6\u7acb\u5373\u63d0\u4f9b\u5b8c\u6574\u6027\u80fd\u3002\u8fd9\u663e\u7136\u975e\u5e38\u6d6a\u8d39\uff0c\u800c\u4e14\u4f1a\u4ea7\u751f\u4e0d\u5fc5\u8981\u7684\u4e91\u57fa\u7840\u8bbe\u65bd\u6210\u672c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/chart-speed-optimization-level-1024x538.png?auto=format&crop=faces,entropy&fit=max&q=80&s=23de872672a8b1f0ca2654795015e6d4\" alt=\"Cloud waste chart: Java-based application speed by optimization level\" class=\"wp-image-56563\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u5982\u4f55\u901a\u8fc7-aot-\u6216-jit-\u7f16\u8bd1\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\">\u5982\u4f55\u901a\u8fc7 AOT \u6216 JIT \u7f16\u8bd1\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff1f<\/h2>\n\n\n\n<p>\u4e00\u79cd\u65b9\u6cd5\u662f\u4f7f\u7528\u63d0\u524d\u7f16\u8bd1 (AOT)\u3002\u4e0e JIT \u7f16\u8bd1\u4e0d\u540c\uff0c\u8fd9\u79cd\u65b9\u6cd5\u5c06\u6240\u6709\u4ee3\u7801\u76f4\u63a5\u7f16\u8bd1\u4e3a\u539f\u751f\u6307\u4ee4\u3002\u8fd9\u5b8c\u5168\u6d88\u9664\u4e86\u9884\u70ed\uff0c\u4f7f\u5e94\u7528\u7a0b\u5e8f\u4ece\u4e00\u5f00\u59cb\u5c31\u80fd\u8fbe\u5230\u5b8c\u6574\u7684\u6027\u80fd\u7ea7\u522b\u3002&nbsp;<\/p>\n\n\n\n<p>\u5c3d\u7ba1\u8fd9\u542c\u8d77\u6765\u50cf\u662f\u7406\u60f3\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f46\u4e5f\u5177\u6709\u6210\u672c\u548c\u5c40\u9650\u6027\u3002&nbsp;<\/p>\n\n\n\n<p>AOT \u5728\u7f16\u8bd1\u4ee3\u7801\u65f6\u4e0d\u77e5\u9053\u4ee3\u7801\u5c06\u88ab\u5982\u4f55\u4f7f\u7528\uff0c\u8fd9\u9650\u5236\u4e86\u4f18\u5316\u7684\u53ef\u80fd\u6027\u3002JIT \u7f16\u8bd1\u5177\u6709\u5206\u6790\u4fe1\u606f\uff0c\u53ef\u4ee5\u6839\u636e\u5e94\u7528\u7a0b\u5e8f\u7684\u4f7f\u7528\u65b9\u5f0f\u8fdb\u884c\u5b9a\u5236\u7684\u7cbe\u786e\u4f18\u5316\u3002\u901a\u5e38\uff0c\u8fd9\u4f1a\u5e26\u6765\u663e\u8457\u7684\u6574\u4f53\u6027\u80fd\u63d0\u5347\u3002&nbsp;<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u77ed\u6682\u7684\u5fae\u670d\u52a1\uff0c\u5373\u6240\u8c13\u7684\u201c\u65e0\u670d\u52a1\u5668\u8ba1\u7b97\u201d\uff0cAOT \u63d0\u4f9b\u4e86\u660e\u663e\u7684\u4f18\u52bf\u3002\u5bf9\u4e8e\u4efb\u4f55\u81f3\u5c11\u8fd0\u884c\u51e0\u5206\u949f\u7684\u670d\u52a1\uff0cJIT \u5c06\u5e26\u6765\u66f4\u597d\u7684\u6027\u80fd\uff0c\u4ece\u800c\u964d\u4f4e\u4e91\u8ba1\u7b97\u6210\u672c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-pale-cyan-blue-background-color has-background has-fixed-layout\"><thead><tr><th><strong>AOT \u7f16\u8bd1<\/strong><\/th><th><strong>JIT \u7f16\u8bd1<\/strong><\/th><\/tr><\/thead><tbody><tr><td>\u7c7b\u52a0\u8f7d\u963b\u6b62\u4e86\u65b9\u6cd5\u5185\u8054<\/td><td>\u53ef\u4ee5\u4f7f\u7528\u79ef\u6781\u7684\u65b9\u6cd5\u5185\u8054<\/td><\/tr><tr><td>\u65e0\u8fd0\u884c\u65f6\u5b57\u8282\u7801\u751f\u6210<\/td><td>\u53ef\u4ee5\u4f7f\u7528\u8fd0\u884c\u65f6\u5b57\u8282\u7801\u751f\u6210<\/td><\/tr><tr><td>\u53cd\u5c04\u5f88\u590d\u6742<\/td><td>\u53cd\u5c04\uff08\u76f8\u5bf9\uff09\u7b80\u5355<\/td><\/tr><tr><td>\u65e0\u6cd5\u4f7f\u7528\u63a8\u6d4b\u6027\u4f18\u5316<\/td><td>\u53ef\u4ee5\u4f7f\u7528\u63a8\u6d4b\u6027\u4f18\u5316<\/td><\/tr><tr><td>\u603b\u4f53\u6027\u80fd\u901a\u5e38\u8f83\u4f4e<\/td><td>\u603b\u4f53\u6027\u80fd\u901a\u5e38\u8f83\u9ad8<\/td><\/tr><tr><td>\u4ece\u4e00\u5f00\u59cb\u5c31\u5168\u901f\u8fd0\u884c<\/td><td>\u9700\u8981\u9884\u70ed\u65f6\u95f4<\/td><\/tr><tr><td>\u6ca1\u6709\u8fd0\u884c\u65f6\u7f16\u8bd1\u4ee3\u7801\u7684 CPU \u5f00\u9500<\/td><td>\u6709\u8fd0\u884c\u65f6\u7f16\u8bd1\u4ee3\u7801\u7684 CPU \u5f00\u9500<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><br><em>AOT \u7f16\u8bd1\u548c JIT \u7f16\u8bd1\u90fd\u662f\u6267\u884c Java \u4ee3\u7801\u7684\u597d\u65b9\u6cd5\u3002<br>\u4f46\u662f\uff0c\u5c3d\u7ba1 AOT \u5728\u542f\u52a8\u65b9\u9762\u5177\u6709\u4e00\u7cfb\u5217\u4f18\u52bf\uff0c\u4f46 JIT \u7f16\u8bd1\u5668\u901a\u5e38\u80fd\u63d0\u4f9b\u5728\u8fd0\u884c\u65f6\u6027\u80fd\u66f4\u4f18\u7684\u4ee3\u7801\u3002<\/em><\/figcaption><\/figure>\n\n\n\n<p>\u53e6\u4e00\u79cd\u89e3\u51b3\u65b9\u6848\u662f <a href=\"https:\/\/azul.com\/products\/components\/readynow\" target=\"_blank\" rel=\"noreferrer noopener\">ReadyNow \u9884\u70ed\u6280\u672f<\/a>\uff0c\u5b83\u662f <a href=\"https:\/\/www.azul.com\/products\/prime\">Platform Prime \u9ad8\u6027\u80fd Java \u8fd0\u884c\u65f6<\/a>\u7684\u4e00\u90e8\u5206\u3002&nbsp;<\/p>\n\n\n\n<p>\u5982\u6211\u4eec\u6240\u89c1\uff0c\u95ee\u9898\u5728\u4e8e\u6bcf\u6b21\u542f\u52a8\u5fae\u670d\u52a1\u5b9e\u4f8b\u65f6\uff0cJVM \u90fd\u5fc5\u987b\u6267\u884c\u76f8\u540c\u7684\u5206\u6790\uff0c\u4ee5\u8bc6\u522b\u70ed\u70b9\u3001\u6536\u96c6\u5206\u6790\u4fe1\u606f\uff0c\u5e76\u5c06\u5b83\u4eec\u7f16\u8bd1\u4e3a\u539f\u751f\u4ee3\u7801\u3002\u5373\u4f7f\u6211\u4eec\u4e4b\u524d\u66fe\u591a\u6b21\u4ee5\u540c\u6837\u7684\u65b9\u5f0f\u4f7f\u7528\u8be5\u5fae\u670d\u52a1\uff0c\u60c5\u51b5\u4e5f\u662f\u5982\u6b64\u3002\u4f7f\u7528 ReadyNow\uff0c\u670d\u52a1\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u542f\u52a8\u540e\u53ef\u4ee5\u4f7f\u7528\u5b9e\u9645\u8bf7\u6c42\uff08\u800c\u975e\u6a21\u62df\u8bf7\u6c42\uff09\u8fdb\u884c\u9884\u70ed\u3002\u5f53\u670d\u52a1\u5b8c\u5168\u9884\u70ed\uff08\u8fbe\u5230\u6700\u4f73\u6027\u80fd\u6c34\u5e73\uff09\u540e\uff0c\u5c06\u6536\u96c6\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\u3002\u6b64\u914d\u7f6e\u6587\u4ef6\u5305\u542b\u83b7\u5f97\u8be5\u6027\u80fd\u6c34\u5e73\u6240\u9700\u7684\u4ee5\u4e0b\u6240\u6709\u4fe1\u606f\uff1a\u70ed\u70b9\u5217\u8868\u3001\u5206\u6790\u6570\u636e\uff0c\u751a\u81f3\u5df2\u7f16\u8bd1\u7684\u4ee3\u7801\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"936\" height=\"504\" src=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/Latency-Line-Chart-min.jpg?auto=format&crop=faces,entropy&fit=max&q=80&s=853d70cf60552b88436ca91cc4a45dba\" alt=\"Cloud waste chart: latency over time in Java-based applications with and without the ReadyNow JIT compiler\" class=\"wp-image-64156\"\/><\/figure>\n\n\n\n<p>\u5f53\u670d\u52a1\u9700\u8981\u518d\u6b21\u542f\u52a8\u65f6\uff0c\u914d\u7f6e\u6587\u4ef6\u5c06\u4f5c\u4e3a\u6267\u884c\u53c2\u6570\u7684\u4e00\u90e8\u5206\u63d0\u4f9b\u3002\u8be5\u914d\u7f6e\u6587\u4ef6\u53ef\u786e\u4fdd\u5f53 JVM \u51c6\u5907\u597d\u5904\u7406\u7b2c\u4e00\u4e2a\u4e8b\u52a1\u65f6\uff0c\u6027\u80fd\u51e0\u4e4e\u8fbe\u5230\u91c7\u96c6\u914d\u7f6e\u6587\u4ef6\u65f6\u7684\u6c34\u5e73\u3002&nbsp;<\/p>\n\n\n\n<p>ReadyNow \u51e0\u4e4e\u6d88\u9664\u4e86\u6240\u6709\u9884\u70ed\u65f6\u95f4\uff0c\u540c\u65f6\u4fdd\u7559\u4e86 JIT \u7f16\u8bd1\u7684\u6240\u6709\u6027\u80fd\u4f18\u52bf\u3002\u8be5\u7cfb\u7edf\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u7075\u6d3b\u6027\uff0c\u56e0\u4e3a\u53ef\u4ee5\u6839\u636e\u670d\u52a1\u4f7f\u7528\u7684\u65f6\u95f4\u548c\u573a\u5408\uff0c\u5bf9\u540c\u4e00\u670d\u52a1\u4f7f\u7528\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u5468\u4e00\u65e9\u4e0a\u7684\u5de5\u4f5c\u8d1f\u8f7d\u914d\u7f6e\u6587\u4ef6\u53ef\u80fd\u4e0e\u5468\u4e94\u4e0b\u5348\u6709\u5f88\u5927\u4e0d\u540c\u3002ReadyNow \u53ef\u4ee5\u5b58\u50a8\u591a\u4e2a\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u5728\u9700\u8981\u65f6\u9009\u62e9\u5408\u9002\u7684\u914d\u7f6e\u6587\u4ef6\u3002&nbsp;<\/p>\n\n\n\n<p>\u7531\u4e8e\u57fa\u4e8e JVM \u7684\u5fae\u670d\u52a1\u9884\u70ed\u65f6\u95f4\u6781\u77ed\uff0c\u56e0\u6b64\u65e0\u9700\u5728\u540e\u53f0\u7ef4\u62a4\u95f2\u7f6e\u7684\u670d\u52a1\u6c60\u3002\u8fd9\u53ef\u4ee5\u663e\u8457\u51cf\u5c11\u4e91\u6d6a\u8d39\u3002&nbsp;<\/p>\n\n\n\n<p>\u7ecf\u8fc7\u6027\u80fd\u4f18\u5316\u7684 JVM \u8fd8\u5305\u62ec\u4e00\u4e2a\u66ff\u4ee3\u7684\u5185\u5b58\u7ba1\u7406\u7cfb\u7edf\uff0c\u6d88\u9664\u4e86\u5178\u578b\u7684\u4e8b\u52a1\u5ef6\u8fdf\u3002JIT \u7f16\u8bd1\u7cfb\u7edf\u4e5f\u5f97\u5230\u4e86\u6539\u8fdb\uff0c\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u541e\u5410\u91cf\u3002\u8fd9\u4e9b\u63aa\u65bd\u5e76\u4e0d\u662f\u51cf\u5c11\u4e91\u6d6a\u8d39\uff0c\u800c\u662f\u7b80\u5355\u5730\u51cf\u5c11\u4e86\u63d0\u4f9b\u76f8\u540c\u627f\u8f7d\u80fd\u529b\u6240\u9700\u7684\u4e91\u8d44\u6e90\u3002\u5176\u6548\u679c\u662f\u8fdb\u4e00\u6b65\u964d\u4f4e\u4e91\u6210\u672c\u3002&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u4f7f\u7528-jti-\u7f16\u8bd1\u7684\u9ad8\u6027\u80fd-java-\u53ef\u51cf\u5c11\u4e91\u6d6a\u8d39\">\u4f7f\u7528 JTI \u7f16\u8bd1\u7684\u9ad8\u6027\u80fd Java \u53ef\u51cf\u5c11\u4e91\u6d6a\u8d39<\/h2>\n\n\n\n<p>\u8ba9\u6211\u4eec\u6765\u770b\u4e00\u4e2a\u771f\u5b9e\u5ba2\u6237\u7684\u4f8b\u5b50\u3002<a href=\"https:\/\/supercell.com\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\">Supercell<\/a> \u516c\u53f8\u8fd0\u8425\u7740\u5168\u7403\u6700\u5927\u7684\u4e00\u4e9b\u591a\u4eba\u5728\u7ebf\u6e38\u620f\u3002\u5728\u6700\u8fd1\u53d1\u5e03\u7684\u300a\u8352\u91ce\u4e71\u6597\u300b\u4e2d\uff0c\u56e0\u4e3a JVM \u6b63\u5728\u7f16\u8bd1\u6240\u9700\u7684\u4ee3\u7801\uff0c\u6240\u4ee5\u5728\u542f\u52a8\u65b0\u670d\u52a1\u5668\u65f6\u51fa\u73b0\u4e86\u5ef6\u8fdf\u3002\u901a\u8fc7\u5207\u6362\u5230 Azul Platform Prime \u5e76\u5229\u7528 ReadyNow\uff0c\u8be5\u516c\u53f8\u80fd\u591f\u63d0\u4f9b\u66f4\u7a33\u5b9a\u7684\u8d1f\u8f7d\u80fd\u529b\uff0c\u51cf\u5c11\u6e38\u620f\u5ef6\u8fdf\uff0c\u5e76\u5c06\u76f8\u540c\u5de5\u4f5c\u8d1f\u8f7d\u7684 CPU \u4f7f\u7528\u7387\u964d\u4f4e 20% \u5230 25%\u3002&nbsp;<\/p>\n\n\n\n<p>\u60a8\u8ba4\u4e3a\u60a8\u7684\u4ee3\u7801\u53ef\u4ee5\u8fd0\u884c\u5f97\u591a\u5feb\uff1f &nbsp;\u8bf7\u67e5\u770b\u6211\u4eec\u6700\u8fd1\u7684\u535a\u5ba2\uff08\u94fe\u63a5\uff09\uff0c\u5176\u4e2d\u9488\u5bf9 OpenJDK 8\u300111\u300117 \u548c 21\uff0c\u5bf9\u9ad8\u6027\u80fd Java \u8fd0\u884c\u65f6\u8fdb\u884c\u4e86\u57fa\u51c6\u6d4b\u8bd5\u3002\u60a8\u89c9\u5f97\u6bd4\u8f83\u7ed3\u679c\u5982\u4f55\uff1f&nbsp;<\/p>\n\n\n\n<p>\u663e\u7136\uff0c\u8fd0\u884c\u4ee3\u7801\u901f\u5ea6\u66f4\u5feb\u7684 JVM\uff0c\u9700\u8981\u7684\u4e91\u8d44\u6e90\u4e5f\u66f4\u5c11\uff0c\u8fd9\u8ba9\u60a8\u53ef\u4ee5\u66f4\u597d\u5730\u5229\u7528\u5df2\u7ecf\u627f\u8bfa\u7684\u3001\u6253\u6298\u7684\u4e91\u8d44\u6e90\u5f00\u652f\uff0c\u751a\u81f3\u964d\u4f4e\u60a8\u7684\u4e91\u8d26\u5355\u8d39\u7528\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azul \u4e91\u6210\u672c\u4f18\u5316\u4e13\u5bb6\u7814\u7a76\u4e86\u516c\u53f8\u5728\u4e91\u6210\u672c\u65b9\u9762\u9762\u4e34\u6311\u6218\u7684\u539f\u56e0\u3002\u7ecf\u8fc7\u4ed4\u7ec6\u8c03\u67e5\uff0c\u4ed6\u4eec\u53d1\u73b0\u4e86\u516d\u4e2a\u9519\u8bef\u4f46\u5e7f\u4e3a\u6d41\u4f20\u7684 J [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":73132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[212,266],"tags":[332],"resource_categories":[],"industry":[],"product":[],"role":[],"resource_topic":[],"class_list":["post-74181","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-212","category-java-news-updates","tag-cloud-costs"],"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":[""],"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>\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39 - Azul | Better Java Performance, Superior Java Support<\/title>\n<meta name=\"description\" content=\"\u8c2c\u89c1\uff1a\u6240\u6709 Java \u8fd0\u884c\u65f6\u90fd\u662f\u76f8\u540c\u7684\u3002 \u73b0\u5b9e\uff1a\u884c\u4e1a\u5206\u6790\u5e08\u548c\u8fd0\u884c\u73b0\u4ee3\u4e91\u67b6\u6784\u7684\u9886\u5148\u516c\u53f8\u4e00\u81f4\u8ba4\u4e3a\uff0c\u4f7f\u7528\u5177\u6709 JIT \u7f16\u8bd1\u529f\u80fd\u7684\u9ad8\u6027\u80fd Java \u8fd0\u884c\u65f6\u53ef\u4ee5\u63d0\u9ad8 Java \u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\uff0c\u5e76\u51cf\u5c11\u4e91\u6d6a\u8d39\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\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39\" \/>\n<meta property=\"og:description\" content=\"Azul \u4e91\u6210\u672c\u4f18\u5316\u4e13\u5bb6\u7814\u7a76\u4e86\u516c\u53f8\u5728\u4e91\u6210\u672c\u65b9\u9762\u9762\u4e34\u6311\u6218\u7684\u539f\u56e0\u3002\u7ecf\u8fc7\u4ed4\u7ec6\u8c03\u67e5\uff0c\u4ed6\u4eec\u53d1\u73b0\u4e86\u516d\u4e2a\u9519\u8bef\u4f46\u5e7f\u4e3a\u6d41\u4f20\u7684 Java \u4e91\u6210\u672c\u4f18\u5316\u8c2c\u89c1\uff0c\u5e76\u5bf9\u6b64\u5206\u522b\u63d0\u51fa\u4e86\u4e8b\u5b9e\u53cd\u9a73\u3002&nbsp; \u8c2c\u89c1\uff1a\u6240\u6709 Java \u8fd0\u884c\u65f6\u90fd\u662f\u76f8\u540c\u7684\u3002&nbsp; \u73b0\u5b9e\uff1a\u884c\u4e1a\u5206\u6790\u5e08\u548c\u8fd0\u884c\u73b0\u4ee3\u4e91\u67b6\u6784\u7684\u9886\u5148\u516c\u53f8\u4e00\u81f4\u8ba4\u4e3a\uff0c\u4f7f\u7528\u5177\u6709 JIT\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/\" \/>\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=\"2024-08-13T14:44:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-02T20:12:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.azul.com\/wp-content\/uploads\/2024-08-08-CCO-Myth-3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\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=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/\"},\"author\":{\"name\":\"Simon Ritter\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/person\\\/b1e724016f581dde70eb8e5d431db93e\"},\"headline\":\"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39\",\"datePublished\":\"2024-08-13T14:44:46+00:00\",\"dateModified\":\"2024-09-02T20:12:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/\"},\"wordCount\":126,\"publisher\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2024-08-08-CCO-Myth-3.jpg\",\"keywords\":[\"cloud costs\"],\"articleSection\":{\"1\":\"Java News &amp; Updates\"},\"inLanguage\":\"zh-CN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/\",\"url\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/\",\"name\":\"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39 - Azul | Better Java Performance, Superior Java Support\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2024-08-08-CCO-Myth-3.jpg\",\"datePublished\":\"2024-08-13T14:44:46+00:00\",\"dateModified\":\"2024-09-02T20:12:11+00:00\",\"description\":\"\u8c2c\u89c1\uff1a\u6240\u6709 Java \u8fd0\u884c\u65f6\u90fd\u662f\u76f8\u540c\u7684\u3002 \u73b0\u5b9e\uff1a\u884c\u4e1a\u5206\u6790\u5e08\u548c\u8fd0\u884c\u73b0\u4ee3\u4e91\u67b6\u6784\u7684\u9886\u5148\u516c\u53f8\u4e00\u81f4\u8ba4\u4e3a\uff0c\u4f7f\u7528\u5177\u6709 JIT \u7f16\u8bd1\u529f\u80fd\u7684\u9ad8\u6027\u80fd Java \u8fd0\u884c\u65f6\u53ef\u4ee5\u63d0\u9ad8 Java \u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\uff0c\u5e76\u51cf\u5c11\u4e91\u6d6a\u8d39\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2024-08-08-CCO-Myth-3.jpg\",\"contentUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2024-08-08-CCO-Myth-3.jpg\",\"width\":1280,\"height\":500,\"caption\":\"How To Reduce Cloud Waste\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39\"}]},{\"@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":"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39 - Azul | Better Java Performance, Superior Java Support","description":"\u8c2c\u89c1\uff1a\u6240\u6709 Java \u8fd0\u884c\u65f6\u90fd\u662f\u76f8\u540c\u7684\u3002 \u73b0\u5b9e\uff1a\u884c\u4e1a\u5206\u6790\u5e08\u548c\u8fd0\u884c\u73b0\u4ee3\u4e91\u67b6\u6784\u7684\u9886\u5148\u516c\u53f8\u4e00\u81f4\u8ba4\u4e3a\uff0c\u4f7f\u7528\u5177\u6709 JIT \u7f16\u8bd1\u529f\u80fd\u7684\u9ad8\u6027\u80fd Java \u8fd0\u884c\u65f6\u53ef\u4ee5\u63d0\u9ad8 Java \u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\uff0c\u5e76\u51cf\u5c11\u4e91\u6d6a\u8d39\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\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/","og_locale":"zh_CN","og_type":"article","og_title":"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39","og_description":"Azul \u4e91\u6210\u672c\u4f18\u5316\u4e13\u5bb6\u7814\u7a76\u4e86\u516c\u53f8\u5728\u4e91\u6210\u672c\u65b9\u9762\u9762\u4e34\u6311\u6218\u7684\u539f\u56e0\u3002\u7ecf\u8fc7\u4ed4\u7ec6\u8c03\u67e5\uff0c\u4ed6\u4eec\u53d1\u73b0\u4e86\u516d\u4e2a\u9519\u8bef\u4f46\u5e7f\u4e3a\u6d41\u4f20\u7684 Java \u4e91\u6210\u672c\u4f18\u5316\u8c2c\u89c1\uff0c\u5e76\u5bf9\u6b64\u5206\u522b\u63d0\u51fa\u4e86\u4e8b\u5b9e\u53cd\u9a73\u3002&nbsp; \u8c2c\u89c1\uff1a\u6240\u6709 Java \u8fd0\u884c\u65f6\u90fd\u662f\u76f8\u540c\u7684\u3002&nbsp; \u73b0\u5b9e\uff1a\u884c\u4e1a\u5206\u6790\u5e08\u548c\u8fd0\u884c\u73b0\u4ee3\u4e91\u67b6\u6784\u7684\u9886\u5148\u516c\u53f8\u4e00\u81f4\u8ba4\u4e3a\uff0c\u4f7f\u7528\u5177\u6709 JIT","og_url":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/","og_site_name":"Azul | Better Java Performance, Superior Java Support","article_publisher":"https:\/\/www.facebook.com\/AzulSystemsInc","article_published_time":"2024-08-13T14:44:46+00:00","article_modified_time":"2024-09-02T20:12:11+00:00","og_image":[{"width":1280,"height":500,"url":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-08-08-CCO-Myth-3.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":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/#article","isPartOf":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/"},"author":{"name":"Simon Ritter","@id":"https:\/\/www.azul.com\/#\/schema\/person\/b1e724016f581dde70eb8e5d431db93e"},"headline":"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39","datePublished":"2024-08-13T14:44:46+00:00","dateModified":"2024-09-02T20:12:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/"},"wordCount":126,"publisher":{"@id":"https:\/\/www.azul.com\/#organization"},"image":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/#primaryimage"},"thumbnailUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-08-08-CCO-Myth-3.jpg","keywords":["cloud costs"],"articleSection":{"1":"Java News &amp; Updates"},"inLanguage":"zh-CN"},{"@type":"WebPage","@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/","url":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/","name":"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39 - Azul | Better Java Performance, Superior Java Support","isPartOf":{"@id":"https:\/\/www.azul.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/#primaryimage"},"image":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/#primaryimage"},"thumbnailUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-08-08-CCO-Myth-3.jpg","datePublished":"2024-08-13T14:44:46+00:00","dateModified":"2024-09-02T20:12:11+00:00","description":"\u8c2c\u89c1\uff1a\u6240\u6709 Java \u8fd0\u884c\u65f6\u90fd\u662f\u76f8\u540c\u7684\u3002 \u73b0\u5b9e\uff1a\u884c\u4e1a\u5206\u6790\u5e08\u548c\u8fd0\u884c\u73b0\u4ee3\u4e91\u67b6\u6784\u7684\u9886\u5148\u516c\u53f8\u4e00\u81f4\u8ba4\u4e3a\uff0c\u4f7f\u7528\u5177\u6709 JIT \u7f16\u8bd1\u529f\u80fd\u7684\u9ad8\u6027\u80fd Java \u8fd0\u884c\u65f6\u53ef\u4ee5\u63d0\u9ad8 Java \u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\uff0c\u5e76\u51cf\u5c11\u4e91\u6d6a\u8d39\u3002","breadcrumb":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/#primaryimage","url":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-08-08-CCO-Myth-3.jpg","contentUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2024-08-08-CCO-Myth-3.jpg","width":1280,"height":500,"caption":"How To Reduce Cloud Waste"},{"@type":"BreadcrumbList","@id":"https:\/\/www.azul.com\/zh-hans\/blog\/how-your-choice-of-jvm-jit-compilation-can-reduce-cloud-waste\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.azul.com\/zh-hans\/"},{"@type":"ListItem","position":2,"name":"\u60a8\u7684 JVM \u548c JIT \u7f16\u8bd1\u53ef\u4ee5\u51cf\u5c11\u4e91\u6d6a\u8d39"}]},{"@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\/74181","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=74181"}],"version-history":[{"count":0,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts\/74181\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/media\/73132"}],"wp:attachment":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=74181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=74181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=74181"},{"taxonomy":"resource_categories","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/resource_categories?post=74181"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/industry?post=74181"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/product?post=74181"},{"taxonomy":"role","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/role?post=74181"},{"taxonomy":"resource_topic","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/resource_topic?post=74181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}