{"id":3075,"date":"2018-09-17T10:42:43","date_gmt":"2018-09-17T02:42:43","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=3075"},"modified":"2018-09-17T10:42:43","modified_gmt":"2018-09-17T02:42:43","slug":"alibaba-java%e8%af%8a%e6%96%ad%e5%88%a9%e5%99%a8-arthas-%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=3075","title":{"rendered":"Alibaba Java\u8bca\u65ad\u5229\u5668 Arthas \u4f7f\u7528\u6559\u7a0b"},"content":{"rendered":"<p>\n\tArthas \u662f\u963f\u91cc\u5df4\u5df4\u6700\u8fd1\u624d\u5f00\u6e90\u51fa\u6765\u7684\u4e00\u6b3e Java \u8bca\u65ad\u5229\u5668\u3002\u4e3b\u8981\u662f\u9488\u5bf9\u7ebf\u4e0a\u73af\u5883\uff0c\u4e5f\u5c31\u662f\u751f\u4ea7\u73af\u5883\u3002\u7528\u8d77\u6765\u975e\u5e38\u7684\u65b9\u4fbf\uff0c\u672c\u6587\u4ecb\u7ecd Arthas \u7684\u76f8\u5173\u7b80\u5355\u7528\u6cd5\u3002\n<\/p>\n<p>\n\tArthas \u662f Alibaba \u5f00\u6e90\u7684 Java \u8bca\u65ad\u5de5\u5177\uff0c\u6df1\u53d7\u5f00\u53d1\u8005\u559c\u7231\u3002\u5f00\u6e90\u4e24\u5929\u4ee5\u6765\uff0cstar \u8d85\u8fc7 500\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"arthas\" src=\"https:\/\/raw.githubusercontent.com\/alibaba\/arthas\/master\/site\/src\/site\/sphinx\/arthas.png\" style=\"width: 449px;height: 137px\" \/>\n<\/p>\n<p>\n\t\u5f53\u4f60\u9047\u5230\u4ee5\u4e0b\u7c7b\u4f3c\u95ee\u9898\u800c\u675f\u624b\u65e0\u7b56\u65f6\uff0cArthas\u53ef\u4ee5\u5e2e\u52a9\u4f60\u89e3\u51b3\uff1a\n<\/p>\n<ul>\n<li>\n\t\t\u8fd9\u4e2a\u7c7b\u4ece\u54ea\u4e2a jar \u5305\u52a0\u8f7d\u7684\uff1f\u4e3a\u4ec0\u4e48\u4f1a\u62a5\u5404\u79cd\u7c7b\u76f8\u5173\u7684 Exception\uff1f\n\t<\/li>\n<li>\n\t\t\u6211\u6539\u7684\u4ee3\u7801\u4e3a\u4ec0\u4e48\u6ca1\u6709\u6267\u884c\u5230\uff1f\u96be\u9053\u662f\u6211\u6ca1 commit\uff1f\u5206\u652f\u641e\u9519\u4e86\uff1f\n\t<\/li>\n<li>\n\t\t\u9047\u5230\u95ee\u9898\u65e0\u6cd5\u5728\u7ebf\u4e0a debug\uff0c\u96be\u9053\u53ea\u80fd\u901a\u8fc7\u52a0\u65e5\u5fd7\u518d\u91cd\u65b0\u53d1\u5e03\u5417\uff1f\n\t<\/li>\n<li>\n\t\t\u7ebf\u4e0a\u9047\u5230\u67d0\u4e2a\u7528\u6237\u7684\u6570\u636e\u5904\u7406\u6709\u95ee\u9898\uff0c\u4f46\u7ebf\u4e0a\u540c\u6837\u65e0\u6cd5 debug\uff0c\u7ebf\u4e0b\u65e0\u6cd5\u91cd\u73b0\uff01\n\t<\/li>\n<li>\n\t\t\u662f\u5426\u6709\u4e00\u4e2a\u5168\u5c40\u89c6\u89d2\u6765\u67e5\u770b\u7cfb\u7edf\u7684\u8fd0\u884c\u72b6\u51b5\uff1f\n\t<\/li>\n<li>\n\t\t\u6709\u4ec0\u4e48\u529e\u6cd5\u53ef\u4ee5\u76d1\u63a7\u5230JVM\u7684\u5b9e\u65f6\u8fd0\u884c\u72b6\u6001\uff1f\n\t<\/li>\n<\/ul>\n<p>\n\tArthas\u91c7\u7528\u547d\u4ee4\u884c\u4ea4\u4e92\u6a21\u5f0f\uff0c\u540c\u65f6\u63d0\u4f9b\u4e30\u5bcc\u7684 Tab \u81ea\u52a8\u8865\u5168\u529f\u80fd\uff0c\u8fdb\u4e00\u6b65\u65b9\u4fbf\u8fdb\u884c\u95ee\u9898\u7684\u5b9a\u4f4d\u548c\u8bca\u65ad\u3002\n<\/p>\n<h2>\n\t\u5b89\u88c5&nbsp;Arthas<br \/>\n<\/h2>\n<p>\n\tArthas \u7684\u5b89\u88c5\u975e\u5e38\u7684\u7b80\u5355\uff0c\u4e3b\u8981\u5206\u4e3a Linux\/Unix\/Mac \u548c Windows \u4e24\u79cd\u60c5\u51b5\u3002\n<\/p>\n<p>\n\tArthas \u652f\u6301\u5728 Linux\/Unix\/Mac \u7b49\u5e73\u53f0\u4e0a\u4e00\u952e\u5b89\u88c5\uff0c\u76f4\u63a5\u6267\u884c\u4e00\u4e0b\u547d\u4ee4\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\ncurl -L https:\/\/alibaba.github.io\/arthas\/install.sh | sh<\/pre>\n<p>\n\t\u4e0a\u8ff0\u547d\u4ee4\u5c06\u4f1a\u4e0b\u8f7d\u542f\u52a8\u811a\u672c\u6587\u4ef6 as.sh \u5230\u5f53\u524d\u76ee\u5f55\uff0c\u4f60\u53ef\u4ee5\u5c06\u5b83\u653e\u5728\u4efb\u4f55\u5730\u65b9\u6216\u5c06\u5176\u52a0\u5165\u5230 $PATH \u4e2d\u3002\n<\/p>\n<p>\n\tArthas \u4e5f\u652f\u6301 Windows \u7cfb\u7edf\u3002\u5b89\u88c5\u4e5f\u5f88\u7b80\u5355\uff0c\u4e0b\u8f7d\u6700\u65b0\u7684 zip \u5305\uff0c\u89e3\u538b\u540e\u8fd0\u884c bin \u76ee\u5f55\u4e0b\u7684 as.bat\u3002\n<\/p>\n<p>\n\t\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/search.maven.org\/remotecontent?filepath=com\/taobao\/arthas\/arthas-packaging\/3.0.0-RC\/arthas-packaging-3.0.0-RC-bin.zip\">arthas-packaging-3.0.0-RC-bin.zip<\/a>\n<\/p>\n<p>\n\tWindows \u7528\u6237\u5982\u679c\u5728cmd\u91cc\u4e0d\u80fd\u6b63\u5e38\u663e\u793a\u989c\u8272\uff0c\u53ef\u4ee5\u4f7f\u7528&nbsp;<a href=\"https:\/\/sourceforge.net\/projects\/conemu\">conemu<\/a>\u3002\n<\/p>\n<h2>\n\t\u624b\u52a8\u5b89\u88c5 Arthas<br \/>\n<\/h2>\n<p>\n\t\u9664\u4e86\u4e0a\u9762\u7684\u81ea\u52a8\u5b89\u88c5\u65b9\u6cd5\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u9009\u62e9\u624b\u52a8\u5b89\u88c5\u3002\n<\/p>\n<p>\n\t\u4ece<a href=\"http:\/\/search.maven.org\/classic\/#search%7Cga%7C1%7Cg%3A%22com.taobao.arthas%22%20AND%20a%3A%22arthas-packaging%22\">\u8fd9\u91cc<\/a>\u4e0b\u8f7d\u6700\u65b0\u7248\u672c, \u4ee5<code>3.0.0-RC<\/code>\u8fd9\u4e2a\u7248\u672c\u4e3a\u4f8b\u3002\u53ef\u4ee5\u4f7f\u7528 wget \u547d\u4ee4\u8fdb\u884c\u4e0b\u8f7d\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\nwget https:\/\/search.maven.org\/remotecontent?filepath=com\/taobao\/arthas\/arthas-packaging\/3.0.0-RC\/arthas-packaging-3.0.0-RC-bin.zip -o arthas-packaging-bin.zip<\/pre>\n<p>\n\t\u7136\u540e\u89e3\u538b\u7f29 arthas \u7684\u538b\u7f29\u5305\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\nunzip arthas-packaging-bin.zip<\/pre>\n<p>\n\t\u5982\u679c\u4f60\u5df2\u7ecf\u5b89\u88c5\u8fc7\u5176\u4ed6\u8001\u65e7\u7684\u7248\u672c\uff0c\u5728\u5b89\u88c5\u4e4b\u524d\u6700\u597d\u628a\u6240\u6709\u8001\u7248\u672c\u7684 Arthas \u5168\u90fd\u5220\u6389\uff0c\u5177\u4f53\u5220\u9664\u547d\u4ee4\u5982\u4e0b\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\nsudo su admin\r\nrm -rf \/home\/admin\/.arthas\/lib\/*\r\ncd arthas\r\n.\/install-local.sh<\/pre>\n<p>\n\t\u8fd9\u91cc\u6839\u636e\u4f60\u9700\u8981\u8bca\u65ad\u7684 Java \u8fdb\u7a0b\u7684\u6240\u5c5e\u7528\u6237\u8fdb\u884c\u5207\u6362\u3002\n<\/p>\n<p>\n\t\u542f\u52a8\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u8001\u7248\u672c\u7684 Arthas \u5df2\u7ecf shutdown\u3002\n<\/p>\n<pre class=\"brush:bash;\">\r\n.\/as.sh<\/pre>\n<h2>\n\t\u5feb\u901f\u5165\u95e8<br \/>\n<\/h2>\n<p>\n\t\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5feb\u901f\u5f00\u59cb\u4e86\u3002\u4e0b\u9762\u6211\u4eec\u901a\u8fc7\u4e00\u4e2a demo \u6765\u6d4b\u8bd5\u4e00\u4e0b Arthas\u3002\n<\/p>\n<pre class=\"brush:java;\">\r\nimport java.util.concurrent.TimeUnit;\r\nimport java.util.concurrent.atomic.AtomicInteger;\r\npublic class Xttblog {\r\n    static class Counter {\r\n        private static AtomicInteger count = new AtomicInteger(0);\r\n        public static void increment() {\r\n            count.incrementAndGet();\r\n        }\r\n        public static int value() {\r\n            return count.get();\r\n        }\r\n    }\r\n\r\n    public static void main(String[] args) throws InterruptedException {\r\n        while (true) {\r\n            Counter.increment();\r\n            System.out.println(&quot;counter: &quot; + Counter.value());\r\n            TimeUnit.SECONDS.sleep(1);\r\n        }\r\n    }\r\n}<\/pre>\n<p>\n\t\u628a\u4e0a\u9762\u7684\u5185\u5bb9\u4fdd\u5b58\u5230 Xttblog.java\u91cc\uff0c\u7136\u540e\u5728\u547d\u4ee4\u884c\u4e0b\u7f16\u7ece\u542f\u52a8\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\njavac Xttblog.java\r\njava Xttblog<\/pre>\n<p>\n\t\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5728 IDE \u91cc\u542f\u52a8\u3002\n<\/p>\n<p>\n\t\u5728 Linux\/Unix\/Mac \u4e2d\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u884c\uff1a\n<\/p>\n<pre class=\"brush:bash;\">\r\n.\/as.sh<\/pre>\n<p>\n\t\u6267\u884c\u8be5\u811a\u672c\u7684\u7528\u6237\u9700\u8981\u548c\u76ee\u6807\u8fdb\u7a0b\u5177\u6709\u76f8\u540c\u7684\u6743\u9650\u3002\u6bd4\u5982\u4ee5 admin \u7528\u6237\u6765\u6267\u884c\uff1a sudo su admin &amp;&amp; .\/as.sh \u6216 sudo -u admin -EH .\/as.sh\u3002 \u8be6\u7ec6\u7684\u542f\u52a8\u811a\u672c\u8bf4\u660e\uff0c\u8bf7\u53c2\u8003\u8fd9\u91cc\u3002 \u5982\u679c attatch \u4e0d\u4e0a\u76ee\u6807\u8fdb\u7a0b\uff0c\u53ef\u4ee5\u67e5\u770b ~\/logs\/arthas\/ \u76ee\u5f55\u4e0b\u7684\u65e5\u5fd7\u3002\n<\/p>\n<pre class=\"brush:bash;\">\r\n$ .\/as.sh\r\nArthas script version: 3.0.2\r\nFound existing java process, please choose one and hit RETURN.\r\n* [1]: 95428 \r\n  [2]: 22647 org.jetbrains.jps.cmdline.Launcher\r\n  [3]: 21736\r\n  [4]: 13560 Xttblog<\/pre>\n<p>\n\tXttblog \u8fdb\u7a0b\u662f\u7b2c4\u4e2a\uff0c\u5219\u8f93\u51654\uff0c\u518d\u8f93\u5165\u56de\u8f66\/enter\u3002Arthas \u4f1a attach \u5230\u76ee\u6807\u8fdb\u7a0b\u4e0a\uff0c\u5e76\u8f93\u51fa\u65e5\u5fd7\uff1a\n<\/p>\n<pre class=\"brush:plain;\">\r\nConnecting to arthas server... current timestamp is 1536656867\r\nTrying 127.0.0.1...\r\nConnected to 127.0.0.1.\r\nEscape character is &#039;^]&#039;.\r\n  ,---.  ,------. ,--------.,--.  ,--.  ,---.   ,---.\r\n \/  O  \\ |  .--. &#039;&#039;--.  .--&#039;|  &#039;--&#039;  | \/  O  \\ &#039;   .-&#039;\r\n|  .-.  ||  &#039;--&#039;.&#039;   |  |   |  .--.  ||  .-.  |`.  `-.\r\n|  | |  ||  |\\  \\    |  |   |  |  |  ||  | |  |.-&#039;    |\r\n`--&#039; `--&#039;`--&#039; &#039;--&#039;   `--&#039;   `--&#039;  `--&#039;`--&#039; `--&#039;`-----&#039;\r\n\r\nwiki: https:\/\/alibaba.github.io\/arthas\r\nversion: 3.0.1-RC-SNAPSHOT\r\npid: 13560\r\ntimestamp: 1536656867894<\/pre>\n<p>\n\tWindows \u73af\u5883\u548c Linux\/Unix\/Mac \u7565\u6709\u4e0d\u540c\u3002\u6253\u5f00 Dos \u547d\u4ee4\u884c\u7a97\u53e3\uff0c\u5728\u89e3\u538b\u7684 arthas \u76ee\u5f55\u4e0b\u6267\u884c as.bat\u3002\n<\/p>\n<p>\n\t\u8f93\u5165&nbsp;<a href=\"https:\/\/alibaba.github.io\/arthas\/dashboard.html\">dashboard<\/a>\uff0c\u6309enter\/\u56de\u8f66\uff0c\u4f1a\u5c55\u793a\u5f53\u524d\u8fdb\u7a0b\u7684\u4fe1\u606f\uff0c\u6309&nbsp;<code>ctrl+c&nbsp;<\/code>\u53ef\u4ee5\u4e2d\u65ad\u6267\u884c\u3002\n<\/p>\n<pre class=\"brush:plain;\">\r\n$ dashboard\r\nID     NAME                   GROUP          PRIORI STATE  %CPU    TIME   INTERRU DAEMON\r\n17     pool-2-thread-1        system         5      WAITIN 67      0:0    false   false\r\n27     Timer-for-arthas-dashb system         10     RUNNAB 32      0:0    false   true\r\n11     AsyncAppender-Worker-a system         9      WAITIN 0       0:0    false   true\r\n9      Attach Listener        system         9      RUNNAB 0       0:0    false   true\r\n3      Finalizer              system         8      WAITIN 0       0:0    false   true\r\n2      Reference Handler      system         10     WAITIN 0       0:0    false   true\r\n4      Signal Dispatcher      system         9      RUNNAB 0       0:0    false   true\r\n26     as-command-execute-dae system         10     TIMED_ 0       0:0    false   true\r\n13     job-timeout            system         9      TIMED_ 0       0:0    false   true\r\n1      main                   main           5      TIMED_ 0       0:0    false   false\r\n14     nioEventLoopGroup-2-1  system         10     RUNNAB 0       0:0    false   false\r\n18     nioEventLoopGroup-2-2  system         10     RUNNAB 0       0:0    false   false\r\n23     nioEventLoopGroup-2-3  system         10     RUNNAB 0       0:0    false   false\r\n15     nioEventLoopGroup-3-1  system         10     RUNNAB 0       0:0    false   false\r\nMemory             used   total max    usage GC\r\nheap               32M    155M  1820M  1.77% gc.ps_scavenge.count  4\r\nps_eden_space      14M    65M   672M   2.21% gc.ps_scavenge.time(m 166\r\nps_survivor_space  4M     5M    5M           s)\r\nps_old_gen         12M    85M   1365M  0.91% gc.ps_marksweep.count 0\r\nnonheap            20M    23M   -1           gc.ps_marksweep.time( 0\r\ncode_cache         3M     5M    240M   1.32% ms)\r\nRuntime\r\nos.name                Mac OS X\r\nos.version             10.13.4\r\njava.version           1.8.0_162\r\njava.home              \/Library\/Java\/JavaVir\r\n                       tualMachines\/jdk1.8.0\r\n                       _162.jdk\/Contents\/Hom\r\n                       e\/jre<\/pre>\n<p>\n\t<img decoding=\"async\" alt=\"Arthas dashboard\" src=\"https:\/\/raw.githubusercontent.com\/xttblog\/arthas\/master\/site\/src\/site\/sphinx\/_static\/dashboard.png\" style=\"width: 958px;height: 579px\" \/>\n<\/p>\n<p>\n\t\u901a\u8fc7&nbsp;<a href=\"https:\/\/alibaba.github.io\/arthas\/watch.html\">watch<\/a>&nbsp;\u547d\u4ee4\u6765\u67e5\u770b&nbsp;<code>Counter.value()&nbsp;<\/code>\u51fd\u6570\u7684\u8fd4\u56de\u503c\uff1a\n<\/p>\n<pre class=\"brush:plain;\">\r\n$ watch Xttblog$Counter value returnObj\r\nPress Ctrl+C to abort.\r\nAffect(class-cnt:1 , method-cnt:1) cost in 29 ms.\r\nts=2018-09-10 17:53:11;result=@Integer[621]\r\nts=2018-09-10 17:53:12;result=@Integer[622]\r\nts=2018-09-10 17:53:13;result=@Integer[623]\r\nts=2018-09-10 17:53:14;result=@Integer[624]\r\nts=2018-09-10 17:53:15;result=@Integer[625]<\/pre>\n<h2>\n\tWeb Console<br \/>\n<\/h2>\n<ul>\n<li>\n\t\t<a href=\"https:\/\/alibaba.github.io\/arthas\/web-console\" rel=\"nofollow\">https:\/\/alibaba.github.io\/arthas\/web-console<\/a>\n\t<\/li>\n<\/ul>\n<p>\n\t<img decoding=\"async\" alt=\"Arthas Web Console\" src=\"https:\/\/raw.githubusercontent.com\/xttblog\/arthas\/master\/site\/src\/site\/sphinx\/_static\/web-console-local.png\" style=\"width: 649px;height: 346px\" \/>\n<\/p>\n<h2>\n\t\u53c2\u8003\u8d44\u6599<br \/>\n<\/h2>\n<ul>\n<li>\n\t\t<a href=\"https:\/\/github.com\/alibaba\/arthas\" name=\"arthas\" target=\"_blank\" title=\"arthas\">https:\/\/github.com\/alibaba\/arthas<\/a>\n\t<\/li>\n<\/ul>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=3075\">Alibaba Java\u8bca\u65ad\u5229\u5668 Arthas \u4f7f\u7528\u6559\u7a0b<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>Arthas \u662f\u963f\u91cc\u5df4\u5df4\u6700\u8fd1\u624d\u5f00\u6e90\u51fa\u6765\u7684\u4e00\u6b3e Java \u8bca\u65ad\u5229\u5668\u3002\u4e3b\u8981\u662f\u9488\u5bf9\u7ebf\u4e0a\u73af\u5883\uff0c\u4e5f\u5c31\u662f\u751f\u4ea7\u73af\u5883\u3002\u7528\u8d77\u6765\u975e [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[731,1613,1647,314,1040],"class_list":["post-3075","post","type-post","status-publish","format-standard","hentry","category-java","tag-jvm","tag-jvm-sandbox","tag-taobaojvm","tag-1040"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3075"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3075\/revisions"}],"predecessor-version":[{"id":3076,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3075\/revisions\/3076"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}