{"id":28,"date":"2017-04-19T17:34:36","date_gmt":"2017-04-19T09:34:36","guid":{"rendered":"http:\/\/www.myway5.com\/?p=28"},"modified":"2017-04-19T17:34:53","modified_gmt":"2017-04-19T09:34:53","slug":"jvm-study-lesson-6","status":"publish","type":"post","link":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/","title":{"rendered":"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0"},"content":{"rendered":"<h2>\u4e00\u3001\u524d\u8a00<\/h2>\n<p>\u5728JVM\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\uff0c<strong>\u5783\u573e\u56de\u6536<\/strong>\u662f\u6027\u80fd\u63d0\u5347\u7684\u91cd\u4e2d\u4e4b\u91cd\uff0c\u5783\u573e\u56de\u6536\u7684\u524d\u63d0\u662f\u51c6\u786e\u5224\u5b9a\u54ea\u4e9b\u5bf9\u8c61\u662f\u53ef\u4ee5\u56de\u6536\u7684\uff0c\u5728\u524d\u9762\u7684\u5b66\u4e60\u4e2d\u8bf4\u5230\uff0cJava\u7684\u5927\u591a\u6570\u865a\u62df\u673a\u90fd\u662f\u901a\u8fc7\u53ef\u8fbe\u6027\u5206\u6790\u7b97\u6cd5\u6765\u5224\u5b9a\u5bf9\u8c61\u80fd\u5426\u56de\u6536\u3002\u90a3\u4e48\u5982\u4f55\u53bb\u627e\u8fd9\u4e9b<strong>\u6839\u8282\u70b9(GC ROOTS)<\/strong>\u7684\u4f4d\u7f6e\u4e5f\u662f\u4e00\u4e2a\u8981\u89e3\u51b3\u7684\u95ee\u9898\u3002<\/p>\n<h2>\u4e8c\u3001HotSpot\u679a\u4e3e\u6839\u8282\u70b9(GC Roots)<\/h2>\n<p>\u6839\u8282\u70b9\u4e3b\u8981\u5728\u5168\u5c40\u6027\u7684\u5f15\u7528(\u5e38\u91cf\u548c\u7c7b\u7684\u9759\u6001\u5c5e\u6027)\u548c\u6267\u884c\u4e0a\u4e0b\u6587\u4e2d(\u4f8b\u5982\u6808\u5e27\u7684\u672c\u5730\u53d8\u91cf\u8868\u4e2d),\u56e0\u4e3a\u8fd9\u4e9b\u533a\u57df\u7684\u5360\u7528\u5185\u5b58\u5f80\u5f80\u5f88\u5927\uff0c\u4e0d\u53ef\u80fd\u53bb\u9010\u4e2a\u68c0\u7d22\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u64cd\u4f5c\u592a\u8017\u65f6\u4e86\u3002<\/p>\n<p>\u540c\u6837\u7684\uff0c\u53ef\u8fbe\u6027\u5206\u6790\u7684\u65f6\u95f4\u4e25\u683c\u8981\u6c42\u8fd8\u4f53\u73b0\u5728GC\u505c\u987f\u4e0a\uff0cGC\u505c\u987f\u5c31\u662f\u6307\u5728\u53ef\u8fbe\u6027\u5206\u6790\u671f\u95f4\u6240\u6709\u7684Java\u6267\u884c\u7ebf\u7a0b\u5f97\u5168\u90e8\u505c\u4e0b\u6765\uff0c\u7b49\u5206\u6790\u5b8c\u6210\u4e4b\u540e\u518d\u5f00\u59cb\u91cd\u65b0\u8fd0\u884c\uff0c\u5982\u679c\u4e0d\u505c\u987f\uff0c\u5c31\u53ef\u80fd\u5bfc\u81f4\u5206\u6790\u671f\u95f4\uff0c\u5f15\u7528\u5173\u7cfb\u8fd8\u5728\u4e0d\u65ad\u7684\u6539\u53d8\u3002\u5f88\u663e\u7136\uff0c\u8fd9\u4e2a\u505c\u987f\u65f6\u95f4\u5fc5\u987b\u77ed\u4e0d\u7136\u7528\u6237\u4f53\u9a8c\u6781\u5dee\u3002Sun\u628a\u8fd9\u4e2a\u505c\u987f\u53eb\u505aStop the world\u3002<\/p>\n<p>HotSpot\u91c7\u7528\u4e00\u79cd\u53ebOopMap\u7684\u6570\u636e\u7ed3\u6784\u6765\u8bb0\u5f55\u6240\u6709\u7684\u6267\u884c\u4e0a\u4e0b\u6587\u548c\u5168\u5c40\u5f15\u7528\u4f4d\u7f6e\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u76f4\u63a5\u5f97\u5230\u6240\u6709\u7684GC Roots\u7684\u5730\u5740\u4e86\u3002<\/p>\n<p>\u4f46\u662f\u5728Java\u7a0b\u5e8f\u8fd0\u884c\u8fc7\u7a0b\u4e2d\uff0c\u6709\u5f88\u591a\u6307\u4ee4\u4f1a\u5bfc\u81f4\u5bf9\u8c61\u7684\u5f15\u7528\u5173\u7cfb\u53d1\u751f\u53d8\u5316\uff0c\u5982\u679c\u6bcf\u4e2a\u53d8\u5316\u90fd\u8981\u5199\u5165\u5230OopMap\u4e2d\uff0c\u90a3\u6837\u5c31\u9700\u8981\u7ef4\u62a4\u4e00\u4e2a\u5f88\u5927\u7684OopMap\u6570\u636e\u7ed3\u6784\uff0c\u4f1a\u5360\u7528\u5927\u91cf\u7684\u7a7a\u95f4\u3002\u6240\u4ee5\u5728Jvm\u4e2d\u6709\u4e00\u4e2a<strong>\u5b89\u5168\u70b9(SafePoint)<\/strong>\u7684\u6982\u5ff5\u3002HotSpot\u53ea\u5728\u5b89\u5168\u70b9\u5904\u8bb0\u5f55\u4e86\u8fd9\u4e9b\u4fe1\u606f\uff0c\u7136\u540e\u5f00\u59cbGC\u3002\u5b89\u5168\u70b9\u7684\u9009\u5b9a\u4e0d\u80fd\u592a\u5c11\u9020\u6210GC\u7b49\u5f85\u65f6\u95f4\u8fc7\u957f\uff0c\u4e5f\u4e0d\u80fd\u9891\u7e41GC\u589e\u52a0\u8fd0\u884c\u8d1f\u8377\u3002<\/p>\n<p>\u5982\u4f55\u8ba9\u6240\u6709\u7ebf\u7a0b\u8dd1\u5230\u5b89\u5168\u70b9\u65f6\u505c\u6b62\u4e0b\u6765\uff0c\u6709\u4e24\u79cd\u65b9\u6848\u53ef\u4ee5\u9009\u62e9\uff0c<strong>\u62a2\u5148\u5f0f\u4e2d\u65ad(Preemptive Suspension)<\/strong>\u548c<strong>\u4e3b\u52a8\u5f0f\u4e2d\u65ad(Voluntary Suspension)<\/strong>\u3002<\/p>\n<p>\u5176\u4e2d\u62a2\u5148\u5f0f\u4e2d\u65ad\u4e0d\u9700\u8981\u7ebf\u7a0b\u7684\u6267\u884c\u4ee3\u7801\u4e3b\u52a8\u914d\u5408\uff0c\u5728GC\u53d1\u751f\u65f6\uff0c\u9996\u5148\u8ba9\u6240\u6709\u7ebf\u7a0b\u4e2d\u65ad\uff0c\u5982\u679c\u53d1\u73b0\u7ebf\u7a0b\u4e2d\u65ad\u7684\u5730\u65b9\u4e0d\u5728\u5b89\u5168\u70b9\u4e0a\uff0c\u5c31\u6062\u590d\u7ebf\u7a0b\uff0c\u8ba9\u5b83\u8dd1\u5230\u5b89\u5168\u70b9\u4e0a\u3002\u73b0\u5728\u51e0\u4e4e\u6ca1\u6709\u865a\u62df\u673a\u5b9e\u73b0\u91c7\u7528\u62a2\u5148\u5f0f\u4e2d\u65ad\u6765\u6682\u505c\u7ebf\u7a0b\u4ece\u800c\u54cd\u5e94GC\u4e8b\u4ef6\u3002<\/p>\n<p>\u4e3b\u52a8\u5f0f\u4e2d\u65ad\u7684\u601d\u60f3\u662f\u5f53GC\u9700\u8981\u4e2d\u65ad\u7ebf\u7a0b\u7684\u65f6\u5019\uff0c\u4e0d\u76f4\u63a5\u5bf9\u7ebf\u7a0b\u64cd\u4f5c\uff0c\u4ec5\u4ec5\u7b80\u5355\u5730\u8bbe\u7f6e\u4e00\u4e2a\u6807\u5fd7\uff0c\u5404\u4e2a\u7ebf\u7a0b\u53bb\u4e3b\u52a8\u8f6e\u8be2\u8fd9\u4e2a\u6807\u5fd7\uff0c\u53d1\u73b0\u4e2d\u65ad\u6807\u5fd7\u4e3a\u771f\u65f6\u5c31\u81ea\u5df1\u4e2d\u65ad\u6302\u8d77\u3002\u8f6e\u8be2\u6807\u5fd7\u7684\u5730\u65b9\u548c\u5b89\u5168\u70b9\u662f\u91cd\u5408\u7684\uff0c\u53e6\u5916\u52a0\u4e0a\u521b\u5efa\u5bf9\u8c61\u9700\u8981\u5206\u914d\u5185\u5b58\u7684\u5730\u65b9\u3002<\/p>\n<p>\u4f46\u662f\u5b89\u5168\u70b9\u53ea\u80fd\u5f88\u597d\u7684\u89e3\u51b3\u8fd0\u884c\u4e2d\u7684\u7a0b\u5e8f\uff0c\u5bf9\u4e8e&#8221;\u4e0d\u8fd0\u884c&#8221;\u7684\u7a0b\u5e8f\u4e5f\u5c31\u4e5f\u5c31\u65e0\u6cd5\u8fdb\u5165\u5b89\u5168\u70b9\uff0c\u4e5f\u5c31\u65e0\u6cd5\u8fdb\u884cGC\u3002\u8fd9\u91cc\u7684\u4e0d\u8fd0\u884c\u6307\u7684\u662f\u7ebf\u7a0b\u6ca1\u6709\u5206\u914d\u5230CPU\u65f6\u95f4\uff0c\u5178\u578b\u7684\u4f8b\u5b50\u5c31\u662f\u7ebf\u7a0b\u5904\u4e8eSleep\u72b6\u6001\u6216\u8005Blocked\u72b6\u6001\uff0c\u8fd9\u65f6\u5019\u7ebf\u7a0b\u662f\u65e0\u6cd5\u54cd\u5e94JVM\u7684\u4e2d\u65ad\u8bf7\u6c42\u7684\uff0c&#8221;\u8d70&#8221;\u5b89\u5168\u7684\u5730\u65b9\u53bb\u4e2d\u65ad\u6302\u8d77,JVM\u663e\u7136\u4e5f\u4e0d\u592a\u53ef\u80fd\u7b49\u5f85\u7ebf\u7a0b\u91cd\u65b0\u88ab\u5206\u914dCPU\u65f6\u95f4\u3002\u8fd9\u79cd\u60c5\u51b5\u9700\u8981\u501f\u52a9<strong>\u5b89\u5168\u533a\u57df\uff08Safe Region)<\/strong>\u6765\u89e3\u51b3\u3002<\/p>\n<p>\u5b89\u5168\u533a\u57df\u6307\u7684\u662f\u5728\u4e00\u6bb5\u4ee3\u7801\u4e2d\uff0c\u5f15\u7528\u5173\u7cfb\u4e0d\u4f1a\u53d1\u751f\u53d8\u5316\u3002\u5728\u8fd9\u4e2a\u533a\u57df\u4efb\u610f\u5f00GC\u90fd\u662f\u5b89\u5168\u7684\u3002\u6211\u4eec\u4e5f\u53ef\u4ee5\u628a\u5b89\u5168\u533a\u57df\u5f53\u6210\u662f\u5b89\u5168\u70b9\u7684\u6269\u5c55\u3002<\/p>\n<p>\u5f53\u7ebf\u7a0b\u6267\u884c\u5230\u5b89\u5168\u533a\u57df\u4e2d\u65f6\uff0c\u9996\u5148\u6807\u8bc6\u81ea\u5df1\u8fdb\u5165\u4e86\u5b89\u5168\u533a\u57df\u3002\u5728\u8fd9\u6bb5\u65f6\u95f4\u5185JVM\u53d1\u8d77GC\u5c31\u4e0d\u7528\u7ba1\u5b89\u5168\u533a\u57df\u91cc\u7684\u7ebf\u7a0b\u4e86\u3002\u4f46\u662f\u5728\u5b89\u5168\u533a\u57df\u5185\u7684\u7ebf\u7a0b\u91cd\u65b0\u83b7\u5f97CPU\u65f6\u95f4\u8981\u79bb\u5f00Safe Region\u65f6\uff0c\u8981\u68c0\u67e5\u7cfb\u7edf\u662f\u5426\u5df2\u7ecf\u5b8c\u6210\u4e86\u6839\u8282\u70b9\u679a\u4e3e\u3002\u5b8c\u6210\u4e86\u624d\u80fd\u79bb\u5f00\u5426\u5219\u5c31\u8981\u7b49\u5f85\u5b8c\u6210\u3002<\/p>\n<p>##\u4e09 HotSpot\u5783\u573e\u6536\u96c6\u5668\u7684\u5b9e\u73b0<\/p>\n<h3>a.Serial\u6536\u96c6\u5668<\/h3>\n<p>\u8fd9\u662f\u4e00\u6b3e\u6700\u57fa\u672c\uff0c\u53d1\u5c55\u5386\u53f2\u6700\u60a0\u4e45\u7684\u6536\u96c6\u5668\u3002\u8fd9\u4e2a\u6536\u96c6\u5668\u662f\u4e00\u4e2a\u5355\u7ebf\u7a0b\u6536\u96c6\u5668\uff0c\u5e76\u4e14\u5728\u6536\u96c6\u5783\u573e\u65f6\uff0c\u5fc5\u987b\u6682\u505c\u5176\u4ed6\u6240\u6709\u5de5\u4f5c\u7ebf\u7a0b\u3002\u9002\u7528\u4e8e\u4f5c\u4e3aClient\u6a21\u5f0f\u4e0b\u7684\u865a\u62df\u673a\u3002<\/p>\n<h3>b.ParNew\u6536\u96c6\u5668<\/h3>\n<p>\u5176\u5b9e\u5c31\u662fSerial\u6536\u96c6\u5668\u7684\u591a\u7ebf\u7a0b\u7248\u672c\u3002\u5728\u5355CPU\u7684\u73af\u5883\u4e2d\uff0c\u6027\u80fd\u6bd4\u4e0d\u4e0aSerial\u6536\u96c6\u5668\uff0c\u4f46\u662f\u591aCPU\u7684\u65f6\u5019\u6027\u80fd\u662f\u8981\u597d\u8fc7Serial\u6536\u96c6\u5668\u7684\u3002<\/p>\n<h3>c.parallel Scavenge\u6536\u96c6\u5668<\/h3>\n<p>\u65b0\u751f\u4ee3\u6536\u96c6\u5668\uff0c\u590d\u5236\u7b97\u6cd5\uff0c\u8fd9\u4e2a\u6536\u96c6\u5668\u4e0e\u5176\u4ed6\u6536\u96c6\u5668\u7684\u533a\u522b\u5728\u4e8e\uff0cParallel Scavenge\u6536\u96c6\u5668\u7684\u76ee\u6807\u662f\u8fbe\u5230\u4e00\u4e2a\u53ef\u63a7\u5236\u7684\u541e\u5410\u91cf\u3002\u541e\u5410\u91cf=\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u6240\u82b1\u8d39\u7684\u65f6\u95f4\/\uff08\u8fd0\u884c\u7528\u6237\u4ee3\u7801\u65f6\u95f4+\u5783\u573e\u6536\u96c6\u65f6\u95f4)\u3002\u800c\u5176\u4ed6\u6536\u96c6\u5219\u662f\u5173\u6ce8\u51cf\u5c11GC\u505c\u987f\u7684\u65f6\u95f4\u3002<\/p>\n<h3>d.Serial Old\u6536\u96c6\u5668<\/h3>\n<p>\u662fSerial\u6536\u96c6\u5668\u7684\u8001\u5e74\u4ee3\u7248\u672c\uff0c\u4f7f\u7528\u6807\u8bb0\u6574\u7406\u7b97\u6cd5\u3002\u4e5f\u662f\u7ed9Client\u6a21\u5f0f\u4e0b\u7684\u865a\u62df\u673a\u4f7f\u7528\u3002\u5728server\u6a21\u5f0f\u4e0b\uff0c\u8fd8\u6709\u4e24\u5927\u7528\u9014:1.\u5728JDK1.5\u4e4b\u524d\u548cParallel Scavenge\u914d\u5408\u4f7f\u7528; 2\u4f5c\u4e3aCMS\u6536\u96c6\u5668\u7684\u540e\u5907\u9884\u6848\uff0c\u5728\u5e76\u53d1\u6536\u96c6\u53d1\u751fConcurrent Mode Failure\u5931\u8d25\u65f6\u4f7f\u7528\u3002<\/p>\n<h3>e.Parallell Old\u6536\u96c6\u5668<\/h3>\n<p>\u662fParallel Scavenge\u6536\u96c6\u5668\u7684\u8001\u5e74\u4ee3\u7248\u672c\uff0c\u4f7f\u7528\u591a\u7ebf\u7a0b\u548c\u6807\u8bb0-\u6574\u7406\u7b97\u6cd5\u3002\u914d\u5408paraller Scavenge\u4f7f\u7528\u3002<\/p>\n<h3>f.CMS\u6536\u96c6\u5668<\/h3>\n<p>Concurrent Mark Sweep\u3002\u4ee5\u83b7\u53d6\u6700\u77ed\u65f6\u95f4\u505c\u987f\u4e3a\u76ee\u6807\uff0c\u57fa\u4e8e\u201c\u6807\u8bb0-\u6e05\u9664\u201d\u7b97\u6cd5\u3002\u5305\u62ec\u56db\u4e2a\u6b65\u9aa4:<br \/>\n1.\u521d\u59cb\u6807\u8bb0<br \/>\n2.\u5e76\u53d1\u6807\u8bb0<br \/>\n3.\u91cd\u65b0\u6807\u8bb0<br \/>\n4.\u5e76\u53d1\u6e05\u9664<br \/>\n\u4ed6\u6709\u4e00\u4e0b\u51e0\u4e2a\u7f3a\u70b9:<br \/>\n1.\u5bf9CPU\u8d44\u6e90\u654f\u611f\uff0c\u5bf9\u6027\u80fd\u5f71\u54cd\u5927<br \/>\n2.\u65e0\u6cd5\u6e05\u7406\u6d6e\u52a8\u5783\u573e<br \/>\n3.\u5bb9\u6613\u4ea7\u751f\u5185\u5b58\u788e\u7247\uff0c\u89e6\u53d1Full GC\u3002<\/p>\n<h3>g.G1\u6536\u96c6\u5668<\/h3>\n<p>\u662f\u4e00\u6b3e\u9762\u5411\u670d\u52a1\u5668\u7684\u5783\u573e\u6536\u96c6\u5668\u3002\u6709\u4ee5\u4e0b\u7279\u70b9:<br \/>\n1.\u5e76\u884c\u548c\u5e76\u53d1<br \/>\n2.\u5206\u4ee3\u6536\u96c6<br \/>\n3.\u7a7a\u95f4\u6574\u5408<br \/>\n4.\u53ef\u9884\u6d4b\u7684\u505c\u987f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u524d\u8a00 \u5728JVM\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\uff0c\u5783\u573e\u56de\u6536\u662f\u6027\u80fd\u63d0\u5347\u7684\u91cd\u4e2d\u4e4b\u91cd\uff0c\u5783\u573e\u56de\u6536\u7684\u524d\u63d0\u662f\u51c6\u786e\u5224\u5b9a\u54ea\u4e9b\u5bf9\u8c61\u662f\u53ef\u4ee5\u56de\u6536\u7684\uff0c\u5728 &hellip; <a href=\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-jvm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0 - \u4e00\u53ea\u5b89\u9759\u7684\u732b<\/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.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0 - \u4e00\u53ea\u5b89\u9759\u7684\u732b\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u524d\u8a00 \u5728JVM\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\uff0c\u5783\u573e\u56de\u6536\u662f\u6027\u80fd\u63d0\u5347\u7684\u91cd\u4e2d\u4e4b\u91cd\uff0c\u5783\u573e\u56de\u6536\u7684\u524d\u63d0\u662f\u51c6\u786e\u5224\u5b9a\u54ea\u4e9b\u5bf9\u8c61\u662f\u53ef\u4ee5\u56de\u6536\u7684\uff0c\u5728 &hellip; \u7ee7\u7eed\u9605\u8bfbJava\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/\" \/>\n<meta property=\"og:site_name\" content=\"\u4e00\u53ea\u5b89\u9759\u7684\u732b\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-19T09:34:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-19T09:34:53+00:00\" \/>\n<meta name=\"author\" content=\"jiangpengfei\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"jiangpengfei\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/\"},\"author\":{\"name\":\"jiangpengfei\",\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685\"},\"headline\":\"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0\",\"datePublished\":\"2017-04-19T09:34:36+00:00\",\"dateModified\":\"2017-04-19T09:34:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/\"},\"wordCount\":100,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685\"},\"articleSection\":[\"java\u865a\u62df\u673a\u5b66\u4e60\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/\",\"url\":\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/\",\"name\":\"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0 - \u4e00\u53ea\u5b89\u9759\u7684\u732b\",\"isPartOf\":{\"@id\":\"https:\/\/www.myway5.com\/#website\"},\"datePublished\":\"2017-04-19T09:34:36+00:00\",\"dateModified\":\"2017-04-19T09:34:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.myway5.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.myway5.com\/#website\",\"url\":\"https:\/\/www.myway5.com\/\",\"name\":\"\u4e00\u53ea\u5b89\u9759\u7684\u732b\",\"description\":\"\u60f3\u5565\u5462\",\"publisher\":{\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.myway5.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685\",\"name\":\"jiangpengfei\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f8c7de757f6e0247412bcfd31b7c2271?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f8c7de757f6e0247412bcfd31b7c2271?s=96&d=monsterid&r=g\",\"caption\":\"jiangpengfei\"},\"logo\":{\"@id\":\"https:\/\/www.myway5.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.myway5.com\/index.php\/author\/joyme\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0 - \u4e00\u53ea\u5b89\u9759\u7684\u732b","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.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/","og_locale":"zh_CN","og_type":"article","og_title":"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0 - \u4e00\u53ea\u5b89\u9759\u7684\u732b","og_description":"\u4e00\u3001\u524d\u8a00 \u5728JVM\u8fd0\u884c\u7684\u8fc7\u7a0b\u4e2d\uff0c\u5783\u573e\u56de\u6536\u662f\u6027\u80fd\u63d0\u5347\u7684\u91cd\u4e2d\u4e4b\u91cd\uff0c\u5783\u573e\u56de\u6536\u7684\u524d\u63d0\u662f\u51c6\u786e\u5224\u5b9a\u54ea\u4e9b\u5bf9\u8c61\u662f\u53ef\u4ee5\u56de\u6536\u7684\uff0c\u5728 &hellip; \u7ee7\u7eed\u9605\u8bfbJava\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0","og_url":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/","og_site_name":"\u4e00\u53ea\u5b89\u9759\u7684\u732b","article_published_time":"2017-04-19T09:34:36+00:00","article_modified_time":"2017-04-19T09:34:53+00:00","author":"jiangpengfei","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"jiangpengfei"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/#article","isPartOf":{"@id":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/"},"author":{"name":"jiangpengfei","@id":"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685"},"headline":"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0","datePublished":"2017-04-19T09:34:36+00:00","dateModified":"2017-04-19T09:34:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/"},"wordCount":100,"commentCount":0,"publisher":{"@id":"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685"},"articleSection":["java\u865a\u62df\u673a\u5b66\u4e60"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/","url":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/","name":"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0 - \u4e00\u53ea\u5b89\u9759\u7684\u732b","isPartOf":{"@id":"https:\/\/www.myway5.com\/#website"},"datePublished":"2017-04-19T09:34:36+00:00","dateModified":"2017-04-19T09:34:53+00:00","breadcrumb":{"@id":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.myway5.com\/index.php\/2017\/04\/19\/jvm-study-lesson-6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.myway5.com\/"},{"@type":"ListItem","position":2,"name":"Java\u865a\u62df\u673a\u5b66\u4e60\u8bb0\u5f55(\u516d)\u2014\u2014HotSpot\u7b97\u6cd5\u5b9e\u73b0"}]},{"@type":"WebSite","@id":"https:\/\/www.myway5.com\/#website","url":"https:\/\/www.myway5.com\/","name":"\u4e00\u53ea\u5b89\u9759\u7684\u732b","description":"\u60f3\u5565\u5462","publisher":{"@id":"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.myway5.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/www.myway5.com\/#\/schema\/person\/b19267e8b106343431e163ec96950685","name":"jiangpengfei","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.myway5.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f8c7de757f6e0247412bcfd31b7c2271?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8c7de757f6e0247412bcfd31b7c2271?s=96&d=monsterid&r=g","caption":"jiangpengfei"},"logo":{"@id":"https:\/\/www.myway5.com\/#\/schema\/person\/image\/"},"url":"https:\/\/www.myway5.com\/index.php\/author\/joyme\/"}]}},"views":5077,"_links":{"self":[{"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":1,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":29,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/posts\/28\/revisions\/29"}],"wp:attachment":[{"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myway5.com\/index.php\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}