{"id":236849,"date":"2020-12-31T11:18:43","date_gmt":"2020-12-31T03:18:43","guid":{"rendered":"http:\/\/4563.org\/?p=236849"},"modified":"2020-12-31T11:18:43","modified_gmt":"2020-12-31T03:18:43","slug":"springboot2-4-0-%e5%b7%b2%e7%bb%8f%e6%94%af%e6%8c%81-graalvm-%e4%ba%86","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=236849","title":{"rendered":"SpringBoot2.4.0 \u5df2\u7ecf\u652f\u6301 GraalVM \u4e86"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  SpringBoot2.4.0 \u5df2\u7ecf\u652f\u6301 GraalVM \u4e86               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyWie <\/span>  <span><i><\/i> 8<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u53ef\u4ee5\u652f\u6301 AOT\uff0c\u542f\u52a8\u901f\u5ea6\u548c\u5185\u5b58\u5360\u7528\u60c5\u51b5\u90fd\u6709\u5927\u5e45\u5ea6\u7684\u63d0\u5347\uff0c\u4f46\u662f\u7f3a\u70b9\u662f\u56e0\u4e3a\u8981\u505a AOT\uff0c\u6240\u6709\u7684\u53cd\u5c04\u548c\u52a8\u6001\u4ee3\u7406\u90fd\u9700\u8981\u7279\u6b8a\u5904\u7406\uff0c\u901a\u8fc7\u914d\u7f6e\u6587\u4ef6\u6765\u58f0\u660e\u3002<\/p>\n<h2>\u9644<\/h2>\n<p>\u5b98\u65b9\u6587\u6863<br \/> GitHub<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4684296\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Oktfolio <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u8fd8\u662f experimental \u5417\uff1f\u5f88\u4e45\u4e4b\u524d\u5c31\u73a9\u8fc7\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4684297\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kingfalse <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u76f4\u5728\u5f00\u53d1\uff0c\u8fd8\u6ca1 ga\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4684298\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lancelock <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u8bd5\u8fc7\u600e\u4e48\u611f\u89c9\u5185\u5b58\u5360\u7528\u9ad8\u4e86\u5f88\u591a\uff0c\u4e0d\u8fc7 native \u8fc7\u540e\u8868\u73b0\u786e\u5b9e\u633a\u597d\u7684\u3002<\/p>\n<p>\u4f46\u662f native \u6211\u53ea\u80fd\u5728\u81ea\u5df1\u672c\u673a\u4e0a\u6253\u5305\uff0c\u5728\u4e91\u4e0a\u7528 docker \u5bb9\u5668\u7f16\u8bd1\u5c31\u7206\u5185\u5b58\u4e86\u597d\u50cf\uff0c\u90e8\u7f72\u4e0d\u4e86 ci\/cd                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4684299\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : monkeyWie <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lancelock #3 \u7f16\u8bd1\u73b0\u5728\u786e\u5b9e\u662f\u4e2a\u5927\u95ee\u9898\uff0c\u53c8\u6162\u53c8\u5403\u914d\u7f6e\uff0c\u4e0d\u8fc7\u8fd8\u597d\u5f00\u53d1\u7684\u65f6\u5019\u4e0d\u7528 AOT                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4684300\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mamahaha <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             graalvm \u662f\u5565\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4684301\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hantsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             experimental \u4e0b\u7684\u90a3\u4e2a\u9879\u76ee\uff0c\u5df2\u7ecf\u5feb\u4e24\u5e74\u4e86\u3002Spring Boot \u73b0\u5728\u4f7f\u7528\u592a\u9ebb\u70e6\uff0c\u9650\u5236\u592a\u591a\uff0c\u79bb\u751f\u4ea7\u73af\u5883\u4f7f\u7528\u5dee\u592a\u8fdc\u4e86\u3002<\/p>\n<p>\u5982\u679c\u4e0d\u6539\u53d8 Spring IOC \u672c\u8eab\uff0c\u7c7b\u53cd\u5c04\u548c\u52a8\u6001\u4ee3\u66ff\u662f\u6700\u57fa\u672c\u7684\u969c\u788d\uff0c\u800c\u8fd9\u4e9b\u662f Spring IOC \u7684\u57fa\u7840\u3002\u76ee\u524d Spring \u592a\u96be\u4e86\uff0c\u60f3\u4f5c\u5230\u4e0e Quarkus \u4e00\u6837\u51e0\u4e4e\u4e0d\u53ef\u80fd\u3002<\/p>\n<p>\u76ee\u524d\u53ea\u6709 Quarkus \u4ece\u4e00\u5f00\u59cb\u5c31\u662f\u652f\u6301 GraalVM \u7684\uff0cQuarkus \u662f\u5b8c\u5168\u629b\u5f03\u73b0\u6709\u7684 Weld\uff0c\u91cd\u65b0\u5199\u4e00\u4e2a Arc \u5bb9\u5668\uff08\u652f\u6301 CDI \u5b50\u96c6\uff09\uff0c\u4ee5\u9002\u5e94 [ [ [\u7f16\u8bd1\u65f6\u5904\u7406] ] ] \u4ee3\u66ff\u4e4b\u524d\u7684 Runtime Proxy \u3002<br \/>Micronaount \u5728 2.0 \u4ee5\u540e\u4e5f\u6dfb\u52a0\u4e86\u652f\u6301\u3002<br \/>Helidon 2.0 \u4e2d SE \u7248\u672c\u5df2\u7ecf\u652f\u6301\uff08\u521a\u521a\u53d1\u5e03\u7684 Helidon 2.2 \u8fd8\u652f\u6301\u4e86 Java 16 \u4e2d\u7684 Virtual Threads \uff09\u3002<\/p>\n<p>\u4f46\u662f Native \u7f16\u8bd1\u662f\u8d39\u529b\u7684\u4e8b\uff0c\u53bb\u524d\u5199\u7684 Quarkus \u7684\u6d4b\u8bd5\uff1a<\/p>\n<p>https:\/\/github.com\/hantsy\/quarkus-sample\/blob\/master\/docs\/01-start.md <\/p>\n<p>\u5185\u7801\u542f\u52a8\u65f6\u95f4\uff08\u770b\u7a0b\u5e8f\u5927\u5c0f\uff0c\u5927\u7ea6\u5feb\u662f 10 \u5230 100 \u500d\uff0c\u8fd9\u4e2a\u6700\u660e\u663e\u7684\uff09\uff0c\u81f3\u5c11\u63d0\u9ad8\u4e00\u4e2a\u6570\u91cf\u7ea7\u4ee5\u4e0a\uff0c\u4e00\u822c\u8bf7\u6c42\u6027\u80fd\u4e5f\u6709\u4e00\u5b9a\u4f18\u5316\uff0c\u5185\u5b58\u6d88\u8017\u6574\u4f53\u964d\u4f4e\u4e86\u4e0d\u5c11\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>SpringBoot2.4.0 \u5df2&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/236849"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236849"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/236849\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236849"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}