{"id":82016,"date":"2025-03-25T12:00:00","date_gmt":"2025-03-25T12:00:00","guid":{"rendered":"https:\/\/www.azul.com\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/"},"modified":"2025-05-01T17:25:32","modified_gmt":"2025-05-01T17:25:32","slug":"faster-warmup-of-your-java-applications-crac-versus-readynow","status":"publish","type":"post","link":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/","title":{"rendered":"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e"},"content":{"rendered":"\n<p><em>Azul <\/em><em>\u5f00\u53d1\u4e86\u4e0d\u540c\u7684\u89e3\u51b3\u65b9\u6848\u6765\u5e2e\u52a9\u5b9e\u73b0\u66f4\u5feb\u7684<\/em><em> Java <\/em><em>\u5e94\u7528\u7a0b\u5e8f\u9884\u70ed\uff0c\u5176\u4e2d\u5305\u62ec\u68c0\u67e5\u70b9\u534f\u8c03\u6062\u590d<\/em><em> (CRaC) <\/em><em>\u548c<\/em><em> ReadyNow<\/em><em>\u3002\u867d\u7136<\/em><em> CRaC <\/em><em>\u548c<\/em><em> ReadyNow <\/em><em>\u65e8\u5728\u89e3\u51b3\u76f8\u540c\u7684\u6311\u6218\uff0c\u4f46\u5b83\u4eec\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u65b9\u6cd5\u3002\u8fd9\u7bc7\u6587\u7ae0\u5c06\u89e3\u91ca\u5b83\u4eec\u7684\u4e0d\u540c\u4e4b\u5904\u3002<\/em><\/p>\n\n\n\n<p>Java \u7cfb\u7edf\u9762\u4e34\u7684\u6311\u6218\u4e4b\u4e00\u662f\u5e94\u7528\u7a0b\u5e8f\u9884\u70ed\u3002<\/p>\n\n\n\n<p>Java \u662f\u8bb8\u591a\u5e94\u7528\u7a0b\u5e8f\u7684\u5fc3\u810f\u3002\u4ece\u5355\u53f0\u673a\u5668\u4e0a\u7684\u5c0f\u578b\u4e1a\u52a1\u6d41\u7a0b\u5230\u5904\u7406\u5927\u91cf\u6570\u636e\u548c\u4e8b\u52a1\u7684\u5927\u89c4\u6a21\u96c6\u7fa4\uff0cJava \u9a71\u52a8\u7740\u65e0\u6570\u7684\u5e94\u7528\u7a0b\u5e8f\u3002Azul \u63d0\u4f9b\u6027\u80fd\u4f18\u5316\uff0c\u7279\u522b\u662f\u5728\u590d\u6742\u8bbe\u7f6e\u548c\u65f6\u95f4\u654f\u611f\u7684\u7528\u4f8b\u4e2d\u8fdb\u884c Java \u9884\u70ed\u65f6\u3002<\/p>\n\n\n\n<p>Java \u7cfb\u7edf\u9762\u4e34\u7684\u6311\u6218\u4e4b\u4e00\u662f\u5e94\u7528\u7a0b\u5e8f\u201c\u9884\u70ed\u201d\u3002Java \u5e94\u7528\u7a0b\u5e8f\u4ece Java \u5b57\u8282\u4ee3\u7801\uff08\u6765\u81ea JAR \u6587\u4ef6\uff09\u5f00\u59cb\uff0c\u5c06\u5176\u8f6c\u6362\u4e3a\u6700\u9002\u5408\u5176\u8fd0\u884c\u7cfb\u7edf\u7684\u672c\u5730\u4ee3\u7801\u3002\u8fd9\u610f\u5473\u7740\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4ece\u4e00\u5f00\u59cb\u5c31\u80fd\u6309\u9884\u671f\u6267\u884c\u4efb\u52a1\uff0c\u800c\u5728\u4e86\u89e3\u54ea\u4e9b\u4ee3\u7801\u4f7f\u7528\u9891\u7387\u6700\u9ad8\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u4ee3\u7801\u4e4b\u540e\uff0c\u5b83\u7684\u6027\u80fd\u4f1a\u53d8\u5f97\u66f4\u597d\u3001\u901f\u5ea6\u4f1a\u53d8\u5f97\u66f4\u5feb\u3002<\/p>\n\n\n\n<p>Azul \u5f00\u53d1\u4e86\u591a\u79cd\u4e0d\u540c\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u65e8\u5728\u52a9\u529b\u5e94\u7528\u7a0b\u5e8f\u51ed\u501f Java \u9884\u70ed\u66f4\u5feb\u5730\u8fbe\u5230\u5c3d\u53ef\u80fd\u9ad8\u7684\u6027\u80fd\u6c34\u5e73\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u68c0\u67e5\u70b9\u534f\u8c03\u6062\u590d<\/strong><strong> (CRaC)<\/strong>\uff1a\u521b\u5efa\u68c0\u67e5\u70b9\u5e76\u4ece\u68c0\u67e5\u70b9\u6062\u590d\u3002<\/li>\n\n\n\n<li><strong>ReadyNow<\/strong>\uff1a\u5b58\u50a8\u7f16\u8bd1\u5668\u51b3\u7b56\uff0c\u4ee5\u4fbf\u5728\u4e0b\u6b21\u8fd0\u884c\u4e2d\u91cd\u590d\u4f7f\u7528\u8fd9\u4e9b\u51b3\u7b56\u3002<\/li>\n\n\n\n<li><strong>\u4e91\u539f\u751f\u7f16\u8bd1\u5668<\/strong>\uff1a\u5c06\u7f16\u8bd1\u5378\u8f7d\u5230\u4e2d\u5fc3\u670d\u52a1\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u867d\u7136 CRaC \u548c ReadyNow \u65e8\u5728\u89e3\u51b3\u76f8\u540c\u7684\u6311\u6218\uff0c\u4f46\u5b83\u4eec\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u65b9\u6cd5\u3002\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u89e3\u91ca\u5b83\u4eec\u7684\u4e0d\u540c\u4e4b\u5904\u3002\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"What-Happens-at-Java-Startup\"><strong>Java <\/strong><strong>\u542f\u52a8\u65f6\u4f1a\u53d1\u751f\u4ec0\u4e48<\/strong><strong><\/strong><\/h2>\n\n\n\n<p>Java \u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u6d89\u53ca\u51e0\u4e2a\u4e0d\u540c\u7684\u4efb\u52a1\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>JVM\uff08java\u00a0\u7a0b\u5e8f\uff09\u672c\u8eab\u9700\u8981\u542f\u52a8\u3002<\/li>\n\n\n\n<li>JVM \u9700\u8981\u52a0\u8f7d\u5e94\u7528\u7a0b\u5e8f\u7c7b\uff08\u4ece\u00a0jar \u4e2d\uff09\u3001\u521d\u59cb\u5316\u6240\u6709\u8d44\u6e90\u5e76\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\u903b\u8f91\u3002<\/li>\n\n\n\n<li>\u6267\u884c\u4ee3\u7801\u5e76\u9488\u5bf9\u8fd0\u884c\u7684\u673a\u5668\u8fdb\u884c\u4f18\u5316\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u4efb\u52a1 1 \u548c\u4efb\u52a1 2 \u7684\u603b\u6301\u7eed\u65f6\u95f4\u79f0\u4e3a\u201c<strong>\u9996\u6b21\u54cd\u5e94\u65f6\u95f4<\/strong>\u201d\u3002\u6b64\u65f6\uff0c\u5e94\u7528\u7a0b\u5e8f\u4f1a\u56de\u590d API \u8c03\u7528\u3001\u5904\u7406\u4f20\u5165\u6d88\u606f\u5e76\u6267\u884c\u5176\u4ed6\u91cd\u8981\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u5728\u6b65\u9aa4 3 \u4e2d\uff0c\u4e00\u65e6\u4ee3\u7801\u88ab\u7f16\u8bd1\u6210\u672c\u673a\u4ee3\u7801\uff08\u8fd9\u4e00\u8fc7\u7a0b\u79f0\u4e3a\u201c\u9884\u70ed\u201d\uff09\uff0c\u6211\u4eec\u5c31\u4f1a\u770b\u5230\u6027\u80fd\u6709\u6240\u63d0\u5347\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/CRAC-CN-1024x458.jpg?auto=format&crop=faces,entropy&fit=max&q=80&s=65fa03d7c59f00581cf6c223b7e363b5\" alt=\"\" class=\"wp-image-82018\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Warm-Up-Phase\"><strong>Java <\/strong><strong>\u9884\u70ed\u9636\u6bb5<\/strong><strong>&nbsp;<\/strong><strong><\/strong><\/h3>\n\n\n\n<p>&nbsp;Java \u5e94\u7528\u7a0b\u5e8f\u5728\u5f00\u59cb\u6267\u884c\u4ee3\u7801\u65f6\u4f1a\u7ecf\u5386\u4e09\u4e2a\u9636\u6bb5\uff0c\u7136\u540e\u8fdb\u5165\u9884\u70ed\uff1a&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Java \u865a\u62df\u673a (JVM)\u201c\u6309\u539f\u6837\u201d\u6267\u884c JAR \u4e2d\u7684\u5b57\u8282\u4ee3\u7801\uff08\u7c7b\u6587\u4ef6\uff09\u3002\u00a0<\/li>\n\n\n\n<li>JVM \u4f1a\u8ddf\u8e2a\u6bcf\u4e2a\u65b9\u6cd5\u7684\u4f7f\u7528\u6b21\u6570\u3002\u4e00\u65e6\u8fbe\u5230\u9608\u503c\uff0c<strong>\u7b2c<\/strong><strong> 1 <\/strong><strong>\u5c42<\/strong>\u7f16\u8bd1\u5668\u5c31\u4f1a\u5c3d\u5feb\u5c06\u5b57\u8282\u4ee3\u7801\u8f6c\u6362\u4e3a\u672c\u5730\u4ee3\u7801\u3002\u00a0<\/li>\n\n\n\n<li>\u4e0e\u6b64\u540c\u65f6\uff0cJVM \u4f1a\u6301\u7eed\u8ddf\u8e2a\u4ee3\u7801\u7684\u4f7f\u7528\u60c5\u51b5\u3002\u4f8b\u5982\uff0cswitch \u4e2d\u53ef\u80fd\u6709\u4e00\u4e9b case \u4ece\u672a\u4f7f\u7528\u8fc7\u3002\u57fa\u4e8e\u8fd9\u4e9b\u77e5\u8bc6\uff0c\u5728\u7ecf\u8fc7\u53e6\u4e00\u4e2a\u9608\u503c\u540e\uff0c\u4ee3\u7801\u4f1a\u518d\u6b21\u8f6c\u6362\u4e3a\u672c\u5730\u4ee3\u7801\uff0c\u4ece\u800c\u4e3a\u5176\u8fd0\u884c\u7684\u7cfb\u7edf\u5e26\u6765\u6700\u4f73\u7684\u672c\u5730\u4ee3\u7801\u3002\u8fd9\u662f\u7531<strong>\u7b2c<\/strong><strong> 2 <\/strong><strong>\u5c42<\/strong>\u7f16\u8bd1\u5668\u5b8c\u6210\u7684\u3002\u00a0<\/li>\n<\/ol>\n\n\n\n<p>Java \u9884\u70ed\u9636\u6bb5\u7ed3\u675f\u540e\uff0c\u6211\u4eec\u5c06\u8fdb\u5165\u201c<strong>\u5168\u901f\u8fd0\u884c\u9636\u6bb5<\/strong>\u201d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"464\" height=\"326\" src=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/CRAC-Speed-CN.jpg?auto=format&crop=faces,entropy&fit=max&q=80&s=fd29683f235c3b2cf0b9032d3823ac46\" alt=\"\" class=\"wp-image-82024\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Deoptimizations\"><strong>\u53bb\u4f18\u5316<\/strong><strong><\/strong><\/h3>\n\n\n\n<p>\u7b2c 2 \u5c42\u7f16\u8bd1\u5668\u4f1a\u6839\u636e\u4ee3\u7801\u7684\u4f7f\u7528\u65b9\u5f0f\u505a\u51fa\u67d0\u4e9b\u51b3\u7b56\u3002\u4f46\u662f\uff0c\u5982\u679c\u5176\u4e2d\u67d0\u4e9b\u51b3\u7b56\u662f\u9519\u8bef\u7684\uff0c\u7f16\u8bd1\u540e\u7684\u4ee3\u7801\u5c31\u4f1a\u88ab\u53bb\u4f18\u5316\uff0c\u5e76\u518d\u6b21\u7ecf\u5386\u7f16\u8bd1\u6b65\u9aa4\u3002\u5728\u6211\u4eec\u4e4b\u524d\u4f7f\u7528\u7684\u793a\u4f8b\u4e2d\uff0c\u5176\u4e2d\u4e00\u4e2a\u672a\u7f16\u8bd1\u7684&nbsp;case \u53ef\u80fd\u4f1a\u53d8\u5f97\u5fc5\u8981\uff0c\u4f8b\u5982\uff0c\u5f53\u5e94\u7528\u7a0b\u5e8f\u5f00\u59cb\u5904\u7406\u4e0d\u540c\u7684\u6570\u636e\u65f6\u3002\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u8f7b\u5fae\u7684\u6027\u80fd\u4e0b\u964d\uff0c\u56e0\u4e3a\u5728\u91cd\u65b0\u7f16\u8bd1\u4e4b\u524d\uff0c\u6267\u884c\u4f1a\u9000\u56de\u5230\u5b57\u8282\u4ee3\u7801\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/azul.imgix.net\/wp-content\/uploads\/ReadyNow-blog1-chart1-1024x531.jpg?auto=format&crop=faces,entropy&fit=max&q=80&s=9b2e2a1d68ead517169eaf26209916e6\" alt=\"\" class=\"wp-image-80632\"\/><\/figure>\n\n\n\n<p>\u8fd9\u79cd\u5f71\u54cd\u5fae\u4e4e\u5176\u5fae\uff0c\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u751a\u81f3\u65e0\u6cd5\u5bdf\u89c9\u3002\u4f46\u662f\uff0c\u5728\u67d0\u4e9b\u65f6\u95f4\u628a\u63a7\u81f3\u5173\u91cd\u8981\u7684\u884c\u4e1a\uff0c\u4f8b\u5982\u91d1\u878d\u4ea4\u6613\u9886\u57df\uff0c\u65e0\u8bba\u5982\u4f55\u90fd\u5e94\u8be5\u907f\u514d\u51fa\u73b0\u6b64\u7c7b\u53bb\u4f18\u5316\u7684\u60c5\u51b5\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Solutions-Provided-by-Azul\"><strong>Azul <\/strong><strong>\u63d0\u4f9b\u7684\u89e3\u51b3\u65b9\u6848<\/strong><strong><\/strong><\/h2>\n\n\n\n<p>\u4f5c\u4e3a 100% \u4e13\u6ce8\u4e8e Java \u548c JVM \u7684\u6700\u5927\u516c\u53f8\uff0cAzul \u5f00\u53d1\u4e86\u591a\u79cd\u89e3\u51b3\u65b9\u6848\uff0c\u52a9\u529b Java \u5e94\u7528\u7a0b\u5e8f\u52a0\u901f\u81f3\u6700\u4f73\u8fd0\u884c\u901f\u5ea6\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Coordinated-Restore-at-Checkpoint\"><strong>\u68c0\u67e5\u70b9\u534f\u8c03\u6062\u590d<\/strong><strong> (CRaC)&nbsp;<\/strong><strong><\/strong><\/h3>\n\n\n\n<p>\u68c0\u67e5\u70b9\u534f\u8c03\u6062\u590d (CRaC) \u662f\u5728 OpenJDK \u7684 Azul Zulu \u6784\u5efa\u7248\u672c (Zulu) \u4e2d\u5b9e\u65bd\u7684 OpenJDK \u9879\u76ee\u3002\u5e94\u7528\u7a0b\u5e8f\u8fd0\u884c\u5e76\u9884\u70ed\u540e\uff0c\u60a8\u53ef\u4ee5\u6307\u793a\u5b83\u521b\u5efa\u68c0\u67e5\u70b9\u3002\u8fd9\u79cd\u68c0\u67e5\u70b9\u5305\u542b\u5e94\u7528\u7a0b\u5e8f\u72b6\u6001\u7684&#8221;\u8f6c\u50a8&#8221;\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u8be5\u68c0\u67e5\u70b9\u91cd\u65b0\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f7f\u5176\u6062\u590d\u5230\u521b\u5efa\u68c0\u67e5\u70b9\u65f6\u7684\u72b6\u6001\uff0c\u800c\u65e0\u9700\u518d\u6b21\u8fdb\u884c Java \u9884\u70ed\u3002<\/p>\n\n\n\n<p>\u8981\u521b\u5efa\u68c0\u67e5\u70b9\uff0c\u5e94\u7528\u7a0b\u5e8f\u9996\u5148\u9700\u8981\u5173\u95ed\u4efb\u4f55\u6253\u5f00\u7684\uff08\u6587\u4ef6\u3001\u6570\u636e\u5e93\u3001\u5957\u63a5\u5b57\u7b49\uff09\u8fde\u63a5\u3002\u7136\u540e\u8be5\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u521b\u5efa\u68c0\u67e5\u70b9\uff0c\u4e4b\u540e\u5176\u4f1a\u88ab\u7ec8\u6b62\u3002\u4e00\u4e9b\u6846\u67b6\uff08\u5982 Quarkus\u3001SpringBoot\u3001Micronaut \u548c AWS Lambdas\uff09\u96c6\u6210\u4e86 CRaC\uff0c\u4ee5\u7b80\u5316\u8fd9\u4e00\u8fc7\u7a0b\u3002<\/p>\n\n\n\n<p>\u68c0\u67e5\u70b9\u53ef\u4ee5\u5728\u76f8\u540c\u6216\u5176\u4ed6\u5177\u6709\u76f8\u540c\u67b6\u6784\u7684\u673a\u5668\u4e0a\u91cd\u65b0\u542f\u52a8\u3002\u6062\u590d\u540e\uff0c\u5b83\u9700\u8981\u91cd\u65b0\u6253\u5f00\u8fd9\u4e9b\u8fde\u63a5\uff0c\u4f46\u51e0\u4e4e\u53ef\u4ee5\u7acb\u5373\u4ee5\u4e0e\u4e0a\u6b21\u8fd0\u884c\u76f8\u540c\u7684\u6027\u80fd\u8fd0\u884c\u3002&nbsp;<\/p>\n\n\n\n<p>\u8981\u4f7f\u7528 CRaC \u7cfb\u7edf\uff0c\u60a8\u9700\u8981\u4fee\u6539\u4ee3\u7801\u4ee5\u5904\u7406\u8fde\u63a5\u7684\u5173\u95ed\u548c\u91cd\u65b0\u6253\u5f00\u3002<\/p>\n\n\n\n<p><strong><strong>CRaC \u901a\u8fc7\u5b58\u50a8\u8fd0\u884c\u4e2d\u5e94\u7528\u7a0b\u5e8f\u7684\u5b8c\u6574\u68c0\u67e5\u70b9\uff0c\u6d88\u9664\u4e86 Java \u9884\u70ed\u9636\u6bb5\u3002\u8be5\u68c0\u67e5\u70b9\u53ef\u5728\u540e\u7eed\u8fd0\u884c\u4e2d\u5feb\u901f\u6062\u590d\u5230\u76f8\u540c\u72b6\u6001\u3002\u00a0<\/strong><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-pale-cyan-blue-background-color has-background has-fixed-layout\"><thead><tr><th><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong>\u4e86\u89e3\u8be6\u60c5<\/strong><\/mark><\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/docs.azul.com\/core\/crac\/crac-introduction\">\u4ec0\u4e48\u662f CRaC\uff1f<\/a><br><a href=\"https:\/\/www.azul.com\/products\/components\/crac\/\">\u68c0\u67e5\u70b9\u534f\u8c03\u6062\u590d (CRaC)<\/a><br><a href=\"https:\/\/www.azul.com\/blog\/reduce-java-application-startup-and-warmup-times-with-crac\/\">\u501f\u52a9 CRaC \u7f29\u77ed Java \u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u548c\u9884\u70ed\u65f6\u95f4<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"ReadyNow\"><strong>ReadyNow&nbsp;<\/strong><strong><\/strong><\/h3>\n\n\n\n<p>ReadyNow \u662f OpenJDK \u7684 Azul Zing \u6784\u5efa\u7248\u672c (Zing) \u4e2d\u7684\u4e00\u9879\u529f\u80fd\uff0c\u5b83\u662f\u4e00\u4e2a\u57fa\u4e8e OpenJDK \u5e76\u5177\u6709\u6269\u5c55\u529f\u80fd\u3001\u7b26\u5408 TCK \u6807\u51c6\u7684\u73b0\u4ee3 Java \u5e73\u53f0\u3002ReadyNow \u53ef\u5e2e\u52a9\u7f16\u8bd1\u5668\u4ece\u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u65f6\u76f4\u63a5\u751f\u6210\u6700\u4f73\u7684\u672c\u5730\u4ee3\u7801\u3002ReadyNow \u9762\u5411 Azul \u9ad8\u6027\u80fd OpenJDK \u53d1\u884c\u7248 <a href=\"https:\/\/www.azul.com\/products\/prime\/\">Azul Platform Prime<\/a> \u7684\u5ba2\u6237\u63d0\u4f9b\u3002<\/p>\n\n\n\n<p>Zing \u7684\u4e00\u4e2a\u663e\u8457\u4f18\u52bf\u662f\uff0c\u6bcf\u4e2a\u7f16\u8bd1\u6b65\u9aa4\u90fd\u53ef\u4ee5\u4fdd\u5b58\u5728\u65e5\u5fd7\u6587\u4ef6\u4e2d\uff0c\u79f0\u4e3a\u914d\u7f6e\u6587\u4ef6\u3002\u5de5\u7a0b\u5e08\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u914d\u7f6e\u6587\u4ef6\u6765\u7814\u7a76\u7279\u5b9a\u95ee\u9898\uff0c\u4f7f\u7528\u5de5\u5177\uff08\u5982 <a href=\"https:\/\/docs.azul.com\/gc-log-analyzer\/\">GC \u65e5\u5fd7\u5206\u6790\u5668<\/a>\uff09\u5bf9\u5176\u8fdb\u884c\u5206\u6790\uff0c\u6700\u91cd\u8981\u7684\u662f\uff0c\u53ef\u4ee5\u5728\u5e94\u7528\u7a0b\u5e8f\u7684\u4e0b\u4e00\u6b21\u8fd0\u884c\u4e2d\u91cd\u590d\u4f7f\u7528\u8fd9\u4e9b\u914d\u7f6e\u6587\u4ef6\uff0c\u4ee5\u4fbf\u7acb\u5373\u5c06\u4ee3\u7801\u7f16\u8bd1\u6210\u6027\u80fd\u6700\u4f73\u7684\u672c\u5730\u7248\u672c\u3002\u6bcf\u6b21\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0cZing \u90fd\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u9009\u9879\u5c06\u914d\u7f6e\u6587\u4ef6\u4f5c\u4e3a\u8f93\u5165\u8fdb\u884c\u914d\u7f6e\uff0c\u4e5f\u53ef\u4ee5\u9009\u62e9\u914d\u7f6e\u65b0\u7684\u8f93\u51fa\u914d\u7f6e\u6587\u4ef6\u3002ReadyNow \u4f1a\u6307\u793a JVM \u9700\u8981\u7f16\u8bd1\u54ea\u4e9b\u4ee3\u7801\uff0c\u5e76\u63d0\u4f9b\u5176\u5728\u5148\u524d\u8fd0\u884c\u4e2d\u7684\u4f7f\u7528\u60c5\u51b5\u4fe1\u606f\u3002\u8fd9\u6837\uff0c\u5c31\u53ef\u4ee5\u521b\u5efa\u591a\u4e2a\u8fed\u4ee3\u7248\u672c\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u4ee5\u6700\u7ec8\u83b7\u5f97\u5b8c\u7f8e\u7684\u201c\u6210\u719f\u201d\u914d\u7f6e\u6587\u4ef6\u3002\u6b64\u914d\u7f6e\u6587\u4ef6\u5c06\u5305\u542b\u4ece\u4e00\u5f00\u59cb\u5c31\u751f\u6210\u6700\u4f73\u672c\u5730\u4ee3\u7801\u6240\u9700\u7684\u5168\u90e8\u4fe1\u606f\uff0c\u5e76\u907f\u514d\u53ef\u80fd\u5bfc\u81f4\u77ed\u671f\u6027\u80fd\u4e0b\u964d\u7684\u53bb\u4f18\u5316\u3002&nbsp;<\/p>\n\n\n\n<p>\u7531\u4e8e\u6b64\u529f\u80fd\u5df2\u96c6\u6210\u5230 Zing \u4e2d\uff0c\u56e0\u6b64<strong>\u4f7f\u7528<\/strong><strong> ReadyNow <\/strong><strong>\u65e0\u9700\u66f4\u6539\u4ee3\u7801<\/strong>\uff01\u60a8\u53ea\u9700\u63d0\u4f9b\u51e0\u4e2a\u547d\u4ee4\u884c\u9009\u9879\u5373\u53ef\u8bbf\u95ee\u6b64\u529f\u80fd\u3002&nbsp;<\/p>\n\n\n\n<p>\u7531\u4e8e ReadyNow \u4f1a\u8bb0\u5f55\u5e94\u7528\u7a0b\u5e8f\u6574\u4e2a\u751f\u547d\u5468\u671f\u4e2d\u7684\u7f16\u8bd1\u51b3\u7b56\uff0c\u56e0\u6b64\u5b83\u53ef\u4ee5\u5e2e\u52a9 JVM \u751f\u6210\u7ecf\u8fc7\u4f18\u5316\u7684\u4ee3\u7801\uff0c\u8fd9\u4e9b\u4ee3\u7801\u80fd\u591f\u5904\u7406\u4e0a\u6b21\u8fd0\u884c\u4e2d\u51fa\u73b0\u7684\u6240\u6709\u6d41\u91cf\uff0c\u4e14\u4e0d\u4f1a\u51fa\u73b0\u4efb\u4f55\u53bb\u4f18\u5316\u7684\u60c5\u51b5\u3002\u6b63\u56e0\u5982\u6b64\uff0c\u5b83\u53ef\u4ee5\u907f\u514d\u7531\u6b64\u7c7b\u53bb\u4f18\u5316\u64cd\u4f5c\u6240\u5bfc\u81f4\u7684\u6240\u6709\u6f5c\u5728\u7684\u7ec6\u5fae\u5ef6\u8fdf\u3002\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u521b\u5efa\u914d\u7f6e\u6587\u4ef6\u7684\u8bad\u7ec3\u8fd0\u884c\u65f6\u95f4\u8d8a\u957f\uff0c\u540e\u7eed\u8fd0\u884c\u7684\u7ed3\u679c\u5c31\u8d8a\u597d\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u5927\u89c4\u6a21\u90e8\u7f72\uff0cAzul \u63d0\u4f9b\u989d\u5916\u7684&nbsp;<a href=\"https:\/\/www.azul.com\/products\/components\/azul-optimizer-hub\/\">Optimizer Hub<\/a>&nbsp;\u670d\u52a1\uff0c\u53ef\u5c06 ReadyNow \u914d\u7f6e\u6587\u4ef6\u7684\u5b58\u50a8\u548c\u7f16\u8bd1\u5378\u8f7d\u5230\u4e13\u7528\u73af\u5883\u3002&nbsp;<\/p>\n\n\n\n<p><strong><strong>ReadyNow \u901a\u8fc7\u5728\u6587\u672c\u6587\u4ef6\u4e2d\u4fdd\u5b58\u4e0a\u4e00\u6b21\u8fd0\u884c\u7684\u7f16\u8bd1\u5668\u51b3\u7b56\u5386\u53f2\u8bb0\u5f55\uff0c\u6d88\u9664\u4e86 Java \u9884\u70ed\u9636\u6bb5\u3002\u56e0\u6b64\uff0c\u5b83\u80fd\u5728\u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u65f6\u7acb\u5373\u521b\u5efa\u6700\u4f73\u4f18\u5316\u4ee3\u7801\u3002\u5b83\u8fd8\u80fd\u907f\u514d\u6240\u6709\u7684\u53bb\u4f18\u5316\u60c5\u51b5\uff0c\u56e0\u4e3a\u5b83\u80fd\u6839\u636e\u4e4b\u524d\u7684\u8fd0\u884c\u60c5\u51b5\u51c6\u786e\u4e86\u89e3\u4ee3\u7801\u7684\u4f7f\u7528\u65b9\u5f0f\u3002<\/strong><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-pale-cyan-blue-background-color has-background has-fixed-layout\"><thead><tr><th><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong>\u4e86\u89e3\u8be6\u60c5<\/strong><\/mark><\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/docs.azul.com\/prime\/Use-ReadyNow\">\u5173\u4e8e ReadyNow<\/a><br><a href=\"https:\/\/www.azul.com\/products\/components\/readynow\/\">ReadyNow \u52a0\u5feb\u542f\u52a8\u5e76\u4fdd\u6301\u5feb\u901f\u8fd0\u884c<\/a><br><a href=\"https:\/\/docs.azul.com\/gc-log-analyzer\/\">GC \u65e5\u5fd7\u5206\u6790\u5668\u6587\u6863<\/a><br><a href=\"https:\/\/docs.azul.com\/optimizer-hub\/\">\u5173\u4e8e Optimizer Hub<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Cloud-Native-Compiler\"><strong>\u4e91\u539f\u751f\u7f16\u8bd1\u5668<\/strong><strong><\/strong><\/h3>\n\n\n\n<p>\u4e91\u539f\u751f\u7f16\u8bd1\u5668\u662f Azul Platform Prime \u4e2d Optimizer Hub \u7684\u4e00\u4e2a\u7ec4\u4ef6\uff0c\u53ef\u63d0\u4f9b\u670d\u52a1\u5668\u7aef\u4f18\u5316\u89e3\u51b3\u65b9\u6848\uff0c\u5c06 JIT \u7f16\u8bd1\u5378\u8f7d\u5230\u5355\u72ec\u7684\u4e13\u7528\u8d44\u6e90\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4e3a JIT \u7f16\u8bd1\u63d0\u4f9b\u66f4\u5f3a\u7684\u5904\u7406\u80fd\u529b\uff0c\u540c\u65f6\u5c06\u5ba2\u6237\u7aef JVM \u4ece\u672c\u5730\u8fdb\u884c JIT \u7f16\u8bd1\u7684\u8d1f\u62c5\u4e2d\u89e3\u653e\u51fa\u6765\u3002<\/p>\n\n\n\n<p>\u56e0\u6b64\uff0c\u5b83\u4e0e\u672c\u6587\u4e2d\u63d0\u5230\u7684\u6311\u6218\u6709\u5173\uff0c\u4f46\u4e5f\u662f\u5bf9 ReadyNow \u7684\u8865\u5145\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-pale-cyan-blue-background-color has-background has-fixed-layout\"><thead><tr><th><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong>\u7acb\u5373\u9605\u8bfb<\/strong><\/mark><\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/docs.azul.com\/optimizer-hub\/about\/cloud-native-compiler\">\u5173\u4e8e\u4e91\u539f\u751f\u7f16\u8bd1\u5668<\/a><br><a href=\"https:\/\/www.azul.com\/products\/prime\/cloud-native-compiler\/\">\u4e91\u539f\u751f\u7f16\u8bd1\u5668\uff1a\u4ee5\u5927\u5e45\u964d\u4f4e\u7684\u6210\u672c\u5b9e\u73b0\u5f3a\u5927\u7684\u4f18\u5316<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"CRaC-Compared-to-ReadyNow\"><strong>CRaC <\/strong><strong>\u4e0e<\/strong><strong> ReadyNow <\/strong><strong>\u7684\u5bf9\u6bd4<\/strong><strong>&nbsp;<\/strong><strong><\/strong><\/h2>\n\n\n\n<p>\u8ba9\u6211\u4eec\u603b\u7ed3\u4e00\u4e0b CRaC \u548c ReadyNow \u4e4b\u95f4\u7684\u5dee\u5f02\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table class=\"has-pale-cyan-blue-background-color has-background has-fixed-layout\"><thead><tr><th><\/th><th><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">CRaC<\/mark><\/th><th><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">ReadyNow<\/mark><\/th><\/tr><\/thead><tbody><tr><td><strong><strong>\u53ef\u7528\u7248\u672c\u00a0<\/strong><\/strong><\/td><td>Zulu&nbsp;<\/td><td>Zing&nbsp;<\/td><\/tr><tr><td><strong><strong>\u9700\u8981\u66f4\u6539\u4ee3\u7801\u00a0<\/strong><\/strong><\/td><td>\u662f\uff0c\u6216\u5fc5\u987b\u57fa\u4e8e\u652f\u6301 CRaC \u7684\u6846\u67b6\uff08Spring\u3001Micronaut\u3001Quarkus \u2026\uff09(*) (**)<\/td><td>\u5426\u00a0<\/td><\/tr><tr><td><strong><strong><strong>\u6240\u9700\u7a7a\u95f4\u00a0<\/strong><\/strong><\/strong><\/td><td>\u5e94\u7528\u7a0b\u5e8f\u5806\u5927\u5c0f + \u989d\u5916\u5b58\u50a8\u7a7a\u95f4\u00a0<\/td><td>\u5927\u5c0f\u6709\u9650\u7684\u6587\u672c\u6587\u4ef6\u00a0<\/td><\/tr><tr><td><strong><strong>\u590d\u6742\u6027\u00a0<\/strong><\/strong><\/td><td>\u8c03\u8bd5\u56f0\u96be\u00a0<\/td><td>\u901a\u8fc7 GC \u65e5\u5fd7\u6587\u4ef6\u548c\u914d\u7f6e\u6587\u4ef6\u6587\u672c\u6587\u4ef6\u63d0\u4f9b\u6269\u5c55\u8c03\u8bd5\u9009\u9879\u00a0<\/td><\/tr><tr><td><strong><strong>\u53ef\u5904\u7406 Java \u6a21\u5f0f (***)<\/strong><\/strong><\/td><td>\u662f<\/td><td>\u662f<\/td><\/tr><tr><td><strong><strong>\u53ef\u7528\u6027\u00a0<\/strong><\/strong><\/td><td>\u5728\u514d\u8d39\u7248\u672c\u4e2d\u63d0\u4f9b\u57fa\u672c\u529f\u80fd\u3002\u00a0<br>Azul \u5ba2\u6237\u53ef\u4f7f\u7528\u6269\u5c55\u529f\u80fd\u3002\u00a0<\/td><td>\u9488\u5bf9 Azul \u5ba2\u6237\u00a0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>(*)\uff1a\u5373\u4f7f\u5728\u4f7f\u7528\u6846\u67b6\u65f6\uff0c\u60a8\u4ecd\u53ef\u80fd\u6709\u9700\u8981\u66f4\u6539\u4ee3\u7801\u7684\u4f9d\u8d56\u9879\u3002<\/p>\n\n\n\n<p>(**)\uff1a\u6846\u67b6\u4e2d\u7684\u67d0\u4e9b CRaC \u5b9e\u73b0\u4f1a\u5728\u201c\u9996\u6b21\u4e8b\u52a1\u5904\u7406\u65f6\u95f4\u201d\u65f6\uff08\u5373\u8c03\u7528&nbsp;main&nbsp;\u65b9\u6cd5\u65f6\uff09\u83b7\u53d6\u5feb\u7167\u3002\u56e0\u6b64\uff0c\u867d\u7136\u4f7f\u7528\u8fd9\u79cd\u65b9\u6cd5\u80fd\u591f\u7f29\u77ed\u542f\u52a8\u65f6\u95f4\uff0c\u4f46\u4ecd\u65e0\u6cd5\u8fbe\u5230\u6700\u4f73\u7684\u201c\u5168\u901f\u8fd0\u884c\u65f6\u95f4\u201d\u3002<\/p>\n\n\n\n<p>(***)\uff1a\u4e0e\u672c\u5730\u7f16\u8bd1\u5e94\u7528\u7a0b\u5e8f\uff08\u4f7f\u7528 GraalVM\uff09\u4e0d\u540c\uff0cCRaC \u548c ReadyNow \u4ecd\u4fdd\u7559\u4e86\u539f\u59cb\u5b57\u8282\u4ee3\u7801\uff0c\u4ee5\u4fbf\u5728\u9700\u8981\u65f6\u8fdb\u4e00\u6b65\u4f18\u5316\u4ee3\u7801\uff0c\u8fd8\u53ef\u4ee5\u52a8\u6001\u52a0\u8f7d\u7c7b\u7b49\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><strong>\u7ed3\u8bed<\/strong><strong>&nbsp;<\/strong><strong><\/strong><\/h2>\n\n\n\n<p>\u5c3d\u7ba1 CRaC \u548c ReadyNow \u90fd\u662f\u7f29\u77ed Java \u5e94\u7528\u7a0b\u5e8f\u9884\u70ed\u9636\u6bb5\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f46\u5b83\u4eec\u91c7\u7528\u7684\u65b9\u6cd5\u5374\u622a\u7136\u4e0d\u540c\u3002\u5728\u65e0\u6cd5\u66f4\u6539\u4ee3\u7801\u3001\u670d\u52a1\u5668\u7cfb\u7edf\u9700\u8981\u5c3d\u5feb\u53ef\u7528\u4ee5\u53ca\u9700\u8981\u63d0\u9ad8\u6027\u80fd\u548c\/\u6216\u964d\u4f4e\u603b\u4f53\u62e5\u6709\u6210\u672c\u7684\u60c5\u51b5\u4e0b\uff0cReadyNow \u662f\u63d0\u5347 Java \u6027\u80fd\u7684\u6700\u4f73\u9009\u62e9\uff01<\/p>\n\n\n\n<p>\u5728\u6211\u4eec\u7684\u6587\u6863\u548c\u7f51\u7ad9\u4e0a\u4e86\u89e3\u6709\u5173 CRaC \u548c ReadyNow \u7684\u66f4\u591a\u4fe1\u606f\u3002\u8bf7\u5173\u6ce8 Azul \u535a\u5ba2\uff0c\u4ee5\u67e5\u9605\u6709\u5173 ReadyNow \u529f\u80fd\u7684\u66f4\u591a\u6587\u7ae0\u3002<br><strong>\u4e0b\u4e00\u7bc7\uff1a<\/strong>\u4e86\u89e3 ReadyNow \u5982\u4f55\u7f29\u77ed\u9884\u70ed\u65f6\u95f4<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-pale-cyan-blue-background-color has-background has-fixed-layout\"><thead><tr><th><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong>\u4e86\u89e3\u8be6\u60c5<\/strong><\/mark><\/th><\/tr><\/thead><tbody><tr><td><strong>\u6587\u6863<\/strong><br><a href=\"https:\/\/docs.azul.com\/core\/crac\/crac-introduction\">\u4ec0\u4e48\u662f CRaC\uff1f<\/a><br><a href=\"https:\/\/docs.azul.com\/prime\/Use-ReadyNow\">\u5173\u4e8e ReadyNow<\/a><br><strong>\u4ea7\u54c1<\/strong><br><a href=\"https:\/\/www.azul.com\/products\/components\/crac\/\">\u68c0\u67e5\u70b9\u534f\u8c03\u6062\u590d (CRaC)<\/a><br><a href=\"https:\/\/www.azul.com\/products\/components\/readynow\/\">ReadyNow \u52a0\u5feb\u542f\u52a8\u5e76\u4fdd\u6301\u5feb\u901f\u8fd0\u884c<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azul has different solutions to help achieve faster Java application warmup, including CRaC and ReadyNow. This post explains the differences.<\/p>\n","protected":false},"author":50,"featured_media":80643,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[443,447],"tags":[445,452],"resource_categories":[524,530],"industry":[],"product":[280],"role":[],"resource_topic":[273],"class_list":["post-82016","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-zh-hans","category-performance-zh-hans","tag-openjdk-zh-hans","tag-java-performance-zh-hans","resource_categories-high-performance-jvm","resource_categories-java-speed","product-prime","resource_topic-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>\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e - Azul | Better Java Performance, Superior Java Support<\/title>\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\/faster-warmup-of-your-java-applications-crac-versus-readynow\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e\" \/>\n<meta property=\"og:description\" content=\"Azul has different solutions to help achieve faster Java application warmup, including CRaC and ReadyNow. This post explains the differences.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/\" \/>\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=\"2025-03-25T12:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-01T17:25:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.azul.com\/wp-content\/uploads\/2025-03-25-ReadyNow1.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=\"Frank Delporte\" \/>\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=\"Frank Delporte\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\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\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/\"},\"author\":{\"name\":\"Frank Delporte\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/#\\\/schema\\\/person\\\/33f8c56c1520a3aa656ad7a2c143b6cc\"},\"headline\":\"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e\",\"datePublished\":\"2025-03-25T12:00:00+00:00\",\"dateModified\":\"2025-05-01T17:25:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/\"},\"wordCount\":166,\"publisher\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2025-03-25-ReadyNow1.jpg\",\"keywords\":[\"OpenJDK\",\"Java performance\"],\"articleSection\":[\"Java\",\"Performance\"],\"inLanguage\":\"zh-CN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/\",\"url\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/\",\"name\":\"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e - Azul | Better Java Performance, Superior Java Support\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2025-03-25-ReadyNow1.jpg\",\"datePublished\":\"2025-03-25T12:00:00+00:00\",\"dateModified\":\"2025-05-01T17:25:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2025-03-25-ReadyNow1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.azul.com\\\/wp-content\\\/uploads\\\/2025-03-25-ReadyNow1.jpg\",\"width\":1280,\"height\":500,\"caption\":\"Faster Warmup of your Java Applications: CRaC versus ReadyNow\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/faster-warmup-of-your-java-applications-crac-versus-readynow\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e\"}]},{\"@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\\\/33f8c56c1520a3aa656ad7a2c143b6cc\",\"name\":\"Frank Delporte\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/49bc68b710662ce7112adc936bb9144274a2408234cb42fe4457fa12235e03e1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/49bc68b710662ce7112adc936bb9144274a2408234cb42fe4457fa12235e03e1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/49bc68b710662ce7112adc936bb9144274a2408234cb42fe4457fa12235e03e1?s=96&d=mm&r=g\",\"caption\":\"Frank Delporte\"},\"description\":\"Senior Technical Writer and Java Champion, Azul\",\"jobTitle\":\"Java Champion\",\"url\":\"https:\\\/\\\/www.azul.com\\\/zh-hans\\\/blog\\\/author\\\/fdelporte\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e - Azul | Better Java Performance, Superior Java Support","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\/faster-warmup-of-your-java-applications-crac-versus-readynow\/","og_locale":"zh_CN","og_type":"article","og_title":"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e","og_description":"Azul has different solutions to help achieve faster Java application warmup, including CRaC and ReadyNow. This post explains the differences.","og_url":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/","og_site_name":"Azul | Better Java Performance, Superior Java Support","article_publisher":"https:\/\/www.facebook.com\/AzulSystemsInc","article_published_time":"2025-03-25T12:00:00+00:00","article_modified_time":"2025-05-01T17:25:32+00:00","og_image":[{"width":1280,"height":500,"url":"https:\/\/www.azul.com\/wp-content\/uploads\/2025-03-25-ReadyNow1.jpg","type":"image\/jpeg"}],"author":"Frank Delporte","twitter_card":"summary_large_image","twitter_creator":"@azulsystems","twitter_site":"@azulsystems","twitter_misc":{"\u4f5c\u8005":"Frank Delporte","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/#article","isPartOf":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/"},"author":{"name":"Frank Delporte","@id":"https:\/\/www.azul.com\/#\/schema\/person\/33f8c56c1520a3aa656ad7a2c143b6cc"},"headline":"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e","datePublished":"2025-03-25T12:00:00+00:00","dateModified":"2025-05-01T17:25:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/"},"wordCount":166,"publisher":{"@id":"https:\/\/www.azul.com\/#organization"},"image":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/#primaryimage"},"thumbnailUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2025-03-25-ReadyNow1.jpg","keywords":["OpenJDK","Java performance"],"articleSection":["Java","Performance"],"inLanguage":"zh-CN"},{"@type":"WebPage","@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/","url":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/","name":"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e - Azul | Better Java Performance, Superior Java Support","isPartOf":{"@id":"https:\/\/www.azul.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/#primaryimage"},"image":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/#primaryimage"},"thumbnailUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2025-03-25-ReadyNow1.jpg","datePublished":"2025-03-25T12:00:00+00:00","dateModified":"2025-05-01T17:25:32+00:00","breadcrumb":{"@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/#primaryimage","url":"https:\/\/www.azul.com\/wp-content\/uploads\/2025-03-25-ReadyNow1.jpg","contentUrl":"https:\/\/www.azul.com\/wp-content\/uploads\/2025-03-25-ReadyNow1.jpg","width":1280,"height":500,"caption":"Faster Warmup of your Java Applications: CRaC versus ReadyNow"},{"@type":"BreadcrumbList","@id":"https:\/\/www.azul.com\/zh-hans\/blog\/faster-warmup-of-your-java-applications-crac-versus-readynow\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.azul.com\/zh-hans\/"},{"@type":"ListItem","position":2,"name":"\u66f4\u5feb\u7684 Java \u9884\u70ed\uff1aCRaC \u4e0e"}]},{"@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\/33f8c56c1520a3aa656ad7a2c143b6cc","name":"Frank Delporte","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/secure.gravatar.com\/avatar\/49bc68b710662ce7112adc936bb9144274a2408234cb42fe4457fa12235e03e1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/49bc68b710662ce7112adc936bb9144274a2408234cb42fe4457fa12235e03e1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/49bc68b710662ce7112adc936bb9144274a2408234cb42fe4457fa12235e03e1?s=96&d=mm&r=g","caption":"Frank Delporte"},"description":"Senior Technical Writer and Java Champion, Azul","jobTitle":"Java Champion","url":"https:\/\/www.azul.com\/zh-hans\/blog\/author\/fdelporte\/"}]}},"_links":{"self":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts\/82016","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\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=82016"}],"version-history":[{"count":0,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/posts\/82016\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/media\/80643"}],"wp:attachment":[{"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=82016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=82016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=82016"},{"taxonomy":"resource_categories","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/resource_categories?post=82016"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/industry?post=82016"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/product?post=82016"},{"taxonomy":"role","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/role?post=82016"},{"taxonomy":"resource_topic","embeddable":true,"href":"https:\/\/www.azul.com\/zh-hans\/wp-json\/wp\/v2\/resource_topic?post=82016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}