{"id":115,"date":"2021-04-26T19:51:22","date_gmt":"2021-04-26T11:51:22","guid":{"rendered":"http:\/\/112.124.66.68\/?p=115"},"modified":"2021-04-26T19:51:22","modified_gmt":"2021-04-26T11:51:22","slug":"jvm%e5%af%b9%e8%b1%a1%e5%88%86%e9%85%8d%e8%a7%84%e5%88%99","status":"publish","type":"post","link":"https:\/\/sanlangcode.com\/index.php\/2021\/04\/26\/jvm%e5%af%b9%e8%b1%a1%e5%88%86%e9%85%8d%e8%a7%84%e5%88%99\/","title":{"rendered":"JVM\u5bf9\u8c61\u5206\u914d\u89c4\u5219"},"content":{"rendered":"\n<p>\u5bf9\u8c61\u4f18\u5148\u5206\u914d\u5728Eden\u533a\uff0c\u5982\u679cEden\u533a\u6ca1\u6709\u8db3\u591f\u7684\u7a7a\u95f4\u65f6\uff0c\u865a\u62df\u673a\u6267\u884c\u4e00\u6b21Minor GC\u3002<br>\u5927\u5bf9\u8c61\u76f4\u63a5\u8fdb\u5165\u8001\u5e74\u4ee3\uff08\u5927\u5bf9\u8c61\u662f\u6307\u9700\u8981\u5927\u91cf\u8fde\u7eed\u5185\u5b58\u7a7a\u95f4\u7684\u5bf9\u8c61\uff09\u3002\u8fd9\u6837\u505a\u7684\u76ee\u7684\u662f\u907f\u514d\u5728<br>Eden\u533a\u548c\u4e24\u4e2aSurvivor\u533a\u4e4b\u95f4\u53d1\u751f\u5927\u91cf\u7684\u5185\u5b58\u62f7\u8d1d\uff08\u65b0\u751f\u4ee3\u91c7\u7528\u590d\u5236\u7b97\u6cd5\u6536\u96c6\u5185\u5b58\uff09\u3002<br>\u957f\u671f\u5b58\u6d3b\u7684\u5bf9\u8c61\u8fdb\u5165\u8001\u5e74\u4ee3\u3002\u865a\u62df\u673a\u4e3a\u6bcf\u4e2a\u5bf9\u8c61\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5e74\u9f84\u8ba1\u6570\u5668\uff0c\u5982\u679c\u5bf9\u8c61\u7ecf\u8fc7\u4e861\u6b21<br>Minor GC\u90a3\u4e48\u5bf9\u8c61\u4f1a\u8fdb\u5165Survivor\u533a\uff0c\u4e4b\u540e\u6bcf\u7ecf\u8fc7\u4e00\u6b21Minor GC\u90a3\u4e48\u5bf9\u8c61\u7684\u5e74\u9f84\u52a01\uff0c\u77e5\u9053\u8fbe\u5230<br>\u9600\u503c\u5bf9\u8c61\u8fdb\u5165\u8001\u5e74\u533a\u3002<\/p>\n\n\n\n<p>\u52a8\u6001\u5224\u65ad\u5bf9\u8c61\u7684\u5e74\u9f84\u3002\u5982\u679cSurvivor\u533a\u4e2d\u76f8\u540c\u5e74\u9f84\u7684\u6240\u6709\u5bf9\u8c61\u5927\u5c0f\u7684\u603b\u548c\u5927\u4e8eSurvivor\u7a7a\u95f4\u7684\u4e00<br>\u534a\uff0c\u5e74\u9f84\u5927\u4e8e\u6216\u7b49\u4e8e\u8be5\u5e74\u9f84\u7684\u5bf9\u8c61\u53ef\u4ee5\u76f4\u63a5\u8fdb\u5165\u8001\u5e74\u4ee3\u3002<br>\u7a7a\u95f4\u5206\u914d\u62c5\u4fdd\u3002\u6bcf\u6b21\u8fdb\u884cMinor GC\u65f6\uff0cJVM\u4f1a\u8ba1\u7b97Survivor\u533a\u79fb\u81f3\u8001\u5e74\u533a\u7684\u5bf9\u8c61\u7684\u5e73\u5747\u5927\u5c0f\uff0c\u5982<br>\u679c\u8fd9\u4e2a\u503c\u5927\u4e8e\u8001\u5e74\u533a\u7684\u5269\u4f59\u503c\u5927\u5c0f\u5219\u8fdb\u884c\u4e00\u6b21Full GC\uff0c\u5982\u679c\u5c0f\u4e8e\u68c0\u67e5HandlePromotionFailure\u8bbe<br>\u7f6e\uff0c\u5982\u679ctrue\u5219\u53ea\u8fdb\u884cMonitor GC,\u5982\u679cfalse\u5219\u8fdb\u884cFull GC\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u5bf9\u8c61\u4f18\u5148\u5206\u914d\u5728Eden\u533a\uff0c\u5982\u679cE&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":325,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","category-jvm"],"_links":{"self":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":0,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media\/325"}],"wp:attachment":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}