{"id":101410,"date":"2026-09-06T20:17:17","date_gmt":"2026-09-06T12:17:17","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/101410.html"},"modified":"2026-09-06T20:17:17","modified_gmt":"2026-09-06T12:17:17","slug":"jvm%e5%9e%83%e5%9c%be%e5%9b%9e%e6%94%b6%e6%9c%ba%e5%88%b6%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/101410.html","title":{"rendered":"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3"},"content":{"rendered":"<h2>JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3<\/h2>\n<h3>1. \u5f15\u8a00<\/h3>\n<h4>1.1 \u4ec0\u4e48\u662f\u5783\u573e\u56de\u6536\u673a\u5236&#xff1f;<\/h4>\n<p>\u5783\u573e\u56de\u6536&#xff08;Garbage Collection&#xff0c;GC&#xff09;\u662fJVM\u81ea\u52a8\u7ba1\u7406\u5185\u5b58\u7684\u4e00\u79cd\u673a\u5236\u3002\u5b83\u8d1f\u8d23\u56de\u6536\u4e0d\u518d\u4f7f\u7528\u7684\u5bf9\u8c61\u6240\u5360\u7528\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u907f\u514d\u5185\u5b58\u6cc4\u6f0f&#xff0c;\u786e\u4fdd\u7a0b\u5e8f\u80fd\u591f\u9ad8\u6548\u8fd0\u884c\u3002<\/p>\n<h4>1.2 \u4e3a\u4ec0\u4e48\u9700\u8981\u5783\u573e\u56de\u6536&#xff1f;<\/h4>\n<p>\u5728C\/C&#043;&#043;\u7b49\u8bed\u8a00\u4e2d&#xff0c;\u5f00\u53d1\u8005\u9700\u8981\u624b\u52a8\u7ba1\u7406\u5185\u5b58&#xff0c;\u8fd9\u5bb9\u6613\u5bfc\u81f4&#xff1a;<\/p>\n<ul>\n<li>\u5185\u5b58\u6cc4\u6f0f&#xff1a;\u5fd8\u8bb0\u91ca\u653e\u5df2\u5206\u914d\u7684\u5185\u5b58<\/li>\n<li>\u60ac\u7a7a\u6307\u9488&#xff1a;\u8bbf\u95ee\u5df2\u91ca\u653e\u7684\u5185\u5b58<\/li>\n<li>\u53cc\u91cd\u91ca\u653e&#xff1a;\u91cd\u590d\u91ca\u653e\u540c\u4e00\u5757\u5185\u5b58<\/li>\n<\/ul>\n<p>JVM\u901a\u8fc7\u5783\u573e\u56de\u6536\u673a\u5236\u81ea\u52a8\u7ba1\u7406\u5185\u5b58&#xff0c;\u5927\u5927\u964d\u4f4e\u4e86\u5185\u5b58\u7ba1\u7406\u7684\u590d\u6742\u6027\u3002<\/p>\n<h3>2. \u5783\u573e\u56de\u6536\u7684\u57fa\u672c\u6982\u5ff5<\/h3>\n<h4>2.1 \u5bf9\u8c61\u5b58\u6d3b\u5224\u5b9a<\/h4>\n<h5>2.1.1 \u5f15\u7528\u8ba1\u6570\u6cd5<\/h5>\n<ul>\n<li>\u539f\u7406&#xff1a;\u4e3a\u6bcf\u4e2a\u5bf9\u8c61\u7ef4\u62a4\u4e00\u4e2a\u5f15\u7528\u8ba1\u6570\u5668<\/li>\n<li>\u4f18\u70b9&#xff1a;\u5b9e\u73b0\u7b80\u5355&#xff0c;\u5224\u65ad\u6548\u7387\u9ad8<\/li>\n<li>\u7f3a\u70b9&#xff1a;\u65e0\u6cd5\u89e3\u51b3\u5faa\u73af\u5f15\u7528\u95ee\u9898<\/li>\n<\/ul>\n<p><span class=\"token comment\">\/\/ \u5faa\u73af\u5f15\u7528\u793a\u4f8b<\/span><br \/>\n<span class=\"token keyword\">class<\/span> <span class=\"token class-name\">A<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token class-name\">B<\/span> b<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token keyword\">class<\/span> <span class=\"token class-name\">B<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token class-name\">A<\/span> a<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h5>2.1.2 \u53ef\u8fbe\u6027\u5206\u6790\u7b97\u6cd5<\/h5>\n<ul>\n<li>\u539f\u7406&#xff1a;\u4eceGC Roots\u51fa\u53d1&#xff0c;\u901a\u8fc7\u5f15\u7528\u94fe\u904d\u5386\u6240\u6709\u53ef\u8fbe\u5bf9\u8c61<\/li>\n<li>GC Roots\u5305\u62ec&#xff1a;\n<ul>\n<li>\u865a\u62df\u673a\u6808\u4e2d\u5f15\u7528\u7684\u5bf9\u8c61<\/li>\n<li>\u65b9\u6cd5\u533a\u4e2d\u7c7b\u9759\u6001\u5c5e\u6027\u5f15\u7528\u7684\u5bf9\u8c61<\/li>\n<li>\u65b9\u6cd5\u533a\u4e2d\u5e38\u91cf\u5f15\u7528\u7684\u5bf9\u8c61<\/li>\n<li>\u672c\u5730\u65b9\u6cd5\u6808\u4e2dJNI\u5f15\u7528\u7684\u5bf9\u8c61<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>2.2 \u5bf9\u8c61\u7684\u5f15\u7528\u7c7b\u578b<\/h4>\n<table>\n<tr>\u5f15\u7528\u7c7b\u578b\u56de\u6536\u6761\u4ef6\u4f7f\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>\u5f3a\u5f15\u7528<\/td>\n<td>\u6c38\u8fdc\u4e0d\u4f1a\u88ab\u56de\u6536<\/td>\n<td>\u666e\u901a\u5bf9\u8c61\u5f15\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u8f6f\u5f15\u7528<\/td>\n<td>\u5185\u5b58\u4e0d\u8db3\u65f6\u56de\u6536<\/td>\n<td>\u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td>\u5f31\u5f15\u7528<\/td>\n<td>\u4e0b\u6b21GC\u65f6\u56de\u6536<\/td>\n<td>\u7f13\u5b58\u3001\u76d1\u542c\u5668<\/td>\n<\/tr>\n<tr>\n<td>\u865a\u5f15\u7528<\/td>\n<td>\u968f\u65f6\u53ef\u80fd\u88ab\u56de\u6536<\/td>\n<td>\u8ddf\u8e2a\u5bf9\u8c61\u56de\u6536\u4e8b\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2.3 \u5bf9\u8c61\u7684\u751f\u547d\u5468\u671f<\/h4>\n<p>\u521b\u5efa \u2192 \u53ef\u7528 \u2192 \u4e0d\u53ef\u89c1 \u2192 \u4e0d\u53ef\u8fbe \u2192 \u56de\u6536<\/p>\n<li>\u521b\u5efa\u9636\u6bb5&#xff1a;\u5bf9\u8c61\u88ab\u521b\u5efa\u5e76\u521d\u59cb\u5316<\/li>\n<li>\u53ef\u7528\u9636\u6bb5&#xff1a;\u5bf9\u8c61\u88ab\u5f15\u7528&#xff0c;\u53ef\u4ee5\u88ab\u7a0b\u5e8f\u8bbf\u95ee<\/li>\n<li>\u4e0d\u53ef\u89c1\u9636\u6bb5&#xff1a;\u5bf9\u8c61\u7684\u5f15\u7528\u8d85\u51fa\u4f5c\u7528\u57df<\/li>\n<li>\u4e0d\u53ef\u8fbe\u9636\u6bb5&#xff1a;\u5bf9\u8c61\u4e0d\u518d\u88ab\u4efb\u4f55GC Root\u5f15\u7528<\/li>\n<li>\u56de\u6536\u9636\u6bb5&#xff1a;\u5783\u573e\u56de\u6536\u5668\u56de\u6536\u5bf9\u8c61\u5360\u7528\u7684\u5185\u5b58<\/li>\n<h3>3. \u5783\u573e\u56de\u6536\u7b97\u6cd5<\/h3>\n<h4>3.1 \u6807\u8bb0-\u6e05\u9664\u7b97\u6cd5&#xff08;Mark-Sweep&#xff09;<\/h4>\n<h5>3.1.1 \u7b97\u6cd5\u539f\u7406<\/h5>\n<li>\u6807\u8bb0\u9636\u6bb5&#xff1a;\u904d\u5386\u6240\u6709\u5bf9\u8c61&#xff0c;\u6807\u8bb0\u5b58\u6d3b\u7684\u5bf9\u8c61<\/li>\n<li>\u6e05\u9664\u9636\u6bb5&#xff1a;\u904d\u5386\u6240\u6709\u5bf9\u8c61&#xff0c;\u56de\u6536\u672a\u6807\u8bb0\u7684\u5bf9\u8c61<\/li>\n<h5>3.1.2 \u4f18\u7f3a\u70b9<\/h5>\n<ul>\n<li>\u4f18\u70b9&#xff1a;\u5b9e\u73b0\u7b80\u5355<\/li>\n<li>\u7f3a\u70b9&#xff1a;\n<ul>\n<li>\u6548\u7387\u95ee\u9898&#xff1a;\u6807\u8bb0\u548c\u6e05\u9664\u6548\u7387\u90fd\u4e0d\u9ad8<\/li>\n<li>\u7a7a\u95f4\u95ee\u9898&#xff1a;\u4ea7\u751f\u5927\u91cf\u5185\u5b58\u788e\u7247<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>3.2 \u590d\u5236\u7b97\u6cd5&#xff08;Copying&#xff09;<\/h4>\n<h5>3.2.1 \u7b97\u6cd5\u539f\u7406<\/h5>\n<li>\u5c06\u5185\u5b58\u5206\u4e3a\u4e24\u5757&#xff0c;\u6bcf\u6b21\u53ea\u4f7f\u7528\u5176\u4e2d\u4e00\u5757<\/li>\n<li>GC\u65f6\u5c06\u5b58\u6d3b\u5bf9\u8c61\u590d\u5236\u5230\u53e6\u4e00\u5757\u5185\u5b58<\/li>\n<li>\u6e05\u9664\u5f53\u524d\u4f7f\u7528\u7684\u5185\u5b58\u5757<\/li>\n<h5>3.2.2 \u4f18\u7f3a\u70b9<\/h5>\n<ul>\n<li>\u4f18\u70b9&#xff1a;\n<ul>\n<li>\u6ca1\u6709\u5185\u5b58\u788e\u7247<\/li>\n<li>\u5206\u914d\u5185\u5b58\u65f6\u53ea\u9700\u79fb\u52a8\u5806\u9876\u6307\u9488&#xff0c;\u6548\u7387\u9ad8<\/li>\n<\/ul>\n<\/li>\n<li>\u7f3a\u70b9&#xff1a;\u5185\u5b58\u5229\u7528\u7387\u53ea\u670950%<\/li>\n<\/ul>\n<h4>3.3 \u6807\u8bb0-\u6574\u7406\u7b97\u6cd5&#xff08;Mark-Compact&#xff09;<\/h4>\n<h5>3.3.1 \u7b97\u6cd5\u539f\u7406<\/h5>\n<li>\u6807\u8bb0\u9636\u6bb5&#xff1a;\u6807\u8bb0\u6240\u6709\u5b58\u6d3b\u7684\u5bf9\u8c61<\/li>\n<li>\u6574\u7406\u9636\u6bb5&#xff1a;\u5c06\u5b58\u6d3b\u5bf9\u8c61\u5411\u5185\u5b58\u4e00\u7aef\u79fb\u52a8&#xff0c;\u7136\u540e\u6e05\u7406\u8fb9\u754c\u5916\u7684\u5185\u5b58<\/li>\n<h5>3.3.2 \u4f18\u7f3a\u70b9<\/h5>\n<ul>\n<li>\u4f18\u70b9&#xff1a;\u6ca1\u6709\u5185\u5b58\u788e\u7247&#xff0c;\u5185\u5b58\u5229\u7528\u7387\u9ad8<\/li>\n<li>\u7f3a\u70b9&#xff1a;\u79fb\u52a8\u5bf9\u8c61\u9700\u8981\u66f4\u65b0\u5f15\u7528&#xff0c;\u6548\u7387\u8f83\u4f4e<\/li>\n<\/ul>\n<h4>3.4 \u5206\u4ee3\u6536\u96c6\u7b97\u6cd5&#xff08;Generational Collection&#xff09;<\/h4>\n<h5>3.4.1 \u5806\u5185\u5b58\u5206\u4ee3<\/h5>\n<p>JVM\u5c06\u5806\u5185\u5b58\u5206\u4e3a\u4e09\u4e2a\u533a\u57df&#xff1a;<\/p>\n<ul>\n<li>\u65b0\u751f\u4ee3&#xff08;Young Generation&#xff09;&#xff1a;\u65b0\u521b\u5efa\u7684\u5bf9\u8c61\u5b58\u653e\u5728\u8fd9\u91cc\n<ul>\n<li>Eden\u533a&#xff1a;\u5bf9\u8c61\u9996\u5148\u5728\u8fd9\u91cc\u521b\u5efa<\/li>\n<li>Survivor\u533a&#xff1a;\u5b58\u653e\u7ecf\u8fc7GC\u540e\u5b58\u6d3b\u7684\u5bf9\u8c61\n<ul>\n<li>From Space<\/li>\n<li>To Space<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u8001\u5e74\u4ee3&#xff08;Old Generation&#xff09;&#xff1a;\u7ecf\u8fc7\u591a\u6b21GC\u540e\u4ecd\u7136\u5b58\u6d3b\u7684\u5bf9\u8c61<\/li>\n<li>\u6c38\u4e45\u4ee3&#xff08;Permanent Generation&#xff09;&#xff1a;\u5b58\u653e\u7c7b\u4fe1\u606f\u3001\u5e38\u91cf\u3001\u9759\u6001\u53d8\u91cf&#xff08;JDK 8\u540e\u88ab\u5143\u7a7a\u95f4\u53d6\u4ee3&#xff09;<\/li>\n<\/ul>\n<h5>3.4.2 \u5404\u4ee3GC\u7b56\u7565<\/h5>\n<ul>\n<li>\u65b0\u751f\u4ee3&#xff1a;\u4f7f\u7528\u590d\u5236\u7b97\u6cd5\n<ul>\n<li>\u5f53Eden\u533a\u6ee1\u65f6&#xff0c;\u89e6\u53d1Minor GC<\/li>\n<li>\u5b58\u6d3b\u5bf9\u8c61\u88ab\u590d\u5236\u5230Survivor\u533a<\/li>\n<li>\u5bf9\u8c61\u6bcf\u7ecf\u8fc7\u4e00\u6b21GC&#xff0c;\u5e74\u9f84\u52a01<\/li>\n<li>\u5e74\u9f84\u8fbe\u5230\u9608\u503c&#xff08;\u9ed8\u8ba415&#xff09;\u540e&#xff0c;\u664b\u5347\u5230\u8001\u5e74\u4ee3<\/li>\n<\/ul>\n<\/li>\n<li>\u8001\u5e74\u4ee3&#xff1a;\u4f7f\u7528\u6807\u8bb0-\u6e05\u9664\u6216\u6807\u8bb0-\u6574\u7406\u7b97\u6cd5\n<ul>\n<li>\u5f53\u8001\u5e74\u4ee3\u7a7a\u95f4\u4e0d\u8db3\u65f6&#xff0c;\u89e6\u53d1Major GC<\/li>\n<li>Major GC\u901a\u5e38\u4f34\u968fMinor GC&#xff08;Full GC&#xff09;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>4. \u5783\u573e\u6536\u96c6\u5668<\/h3>\n<h4>4.1 Serial\u6536\u96c6\u5668<\/h4>\n<h5>4.1.1 \u7279\u70b9<\/h5>\n<ul>\n<li>\u5355\u7ebf\u7a0b\u6536\u96c6<\/li>\n<li>\u6536\u96c6\u65f6\u6682\u505c\u6240\u6709\u7528\u6237\u7ebf\u7a0b&#xff08;Stop The World&#xff09;<\/li>\n<li>\u7b80\u5355\u9ad8\u6548&#xff0c;\u9002\u5408\u5ba2\u6237\u7aef\u6a21\u5f0f<\/li>\n<\/ul>\n<h5>4.1.2 \u5de5\u4f5c\u6d41\u7a0b<\/h5>\n<p>\u7528\u6237\u7ebf\u7a0b \u2192 GC&#xff08;\u6682\u505c\u7528\u6237\u7ebf\u7a0b&#xff09; \u2192 \u7528\u6237\u7ebf\u7a0b \u2192 GC&#xff08;\u6682\u505c\u7528\u6237\u7ebf\u7a0b&#xff09;&#8230;<\/p>\n<h4>4.2 ParNew\u6536\u96c6\u5668<\/h4>\n<h5>4.2.1 \u7279\u70b9<\/h5>\n<ul>\n<li>Serial\u6536\u96c6\u5668\u7684\u591a\u7ebf\u7a0b\u7248\u672c<\/li>\n<li>\u591a\u4e2a\u7ebf\u7a0b\u5e76\u884c\u8fdb\u884c\u5783\u573e\u56de\u6536<\/li>\n<li>\u4ecd\u7136\u9700\u8981\u6682\u505c\u7528\u6237\u7ebf\u7a0b<\/li>\n<\/ul>\n<h5>4.2.2 \u5de5\u4f5c\u6d41\u7a0b<\/h5>\n<p>\u7528\u6237\u7ebf\u7a0b \u2192 GC&#xff08;\u6682\u505c\u7528\u6237\u7ebf\u7a0b&#xff0c;\u591a\u7ebf\u7a0b\u5e76\u884c\u56de\u6536&#xff09; \u2192 \u7528\u6237\u7ebf\u7a0b&#8230;<\/p>\n<h4>4.3 Parallel Scavenge\u6536\u96c6\u5668<\/h4>\n<h5>4.3.1 \u7279\u70b9<\/h5>\n<ul>\n<li>\u5173\u6ce8\u541e\u5410\u91cf&#xff08;\u7528\u6237\u4ee3\u7801\u8fd0\u884c\u65f6\u95f4 \/ \u603b\u65f6\u95f4&#xff09;<\/li>\n<li>\u81ea\u9002\u5e94\u8c03\u8282\u7b56\u7565<\/li>\n<li>\u9002\u5408\u540e\u53f0\u4efb\u52a1<\/li>\n<\/ul>\n<h5>4.3.2 \u5173\u952e\u53c2\u6570<\/h5>\n<ul>\n<li>-XX:MaxGCPauseMillis&#xff1a;\u6700\u5927GC\u505c\u987f\u65f6\u95f4<\/li>\n<li>-XX:GCTimeRatio&#xff1a;GC\u65f6\u95f4\u5360\u6bd4<\/li>\n<li>-XX:&#043;UseAdaptiveSizePolicy&#xff1a;\u81ea\u9002\u5e94\u8c03\u8282\u7b56\u7565<\/li>\n<\/ul>\n<h4>4.4 Serial Old\u6536\u96c6\u5668<\/h4>\n<h5>4.4.1 \u7279\u70b9<\/h5>\n<ul>\n<li>Serial\u6536\u96c6\u5668\u7684\u8001\u5e74\u4ee3\u7248\u672c<\/li>\n<li>\u5355\u7ebf\u7a0b&#xff0c;\u4f7f\u7528\u6807\u8bb0-\u6574\u7406\u7b97\u6cd5<\/li>\n<\/ul>\n<h4>4.5 Parallel Old\u6536\u96c6\u5668<\/h4>\n<h5>4.5.1 \u7279\u70b9<\/h5>\n<ul>\n<li>Parallel Scavenge\u7684\u8001\u5e74\u4ee3\u7248\u672c<\/li>\n<li>\u591a\u7ebf\u7a0b&#xff0c;\u4f7f\u7528\u6807\u8bb0-\u6574\u7406\u7b97\u6cd5<\/li>\n<\/ul>\n<h4>4.6 CMS\u6536\u96c6\u5668&#xff08;Concurrent Mark Sweep&#xff09;<\/h4>\n<h5>4.6.1 \u7279\u70b9<\/h5>\n<ul>\n<li>\u4ee5\u6700\u77ed\u505c\u987f\u65f6\u95f4\u4e3a\u76ee\u6807<\/li>\n<li>\u5e76\u53d1\u6536\u96c6&#xff0c;\u4f4e\u505c\u987f<\/li>\n<li>\u4f7f\u7528\u6807\u8bb0-\u6e05\u9664\u7b97\u6cd5<\/li>\n<\/ul>\n<h5>4.6.2 \u5de5\u4f5c\u6d41\u7a0b<\/h5>\n<p>\u521d\u59cb\u6807\u8bb0&#xff08;STW&#xff09; \u2192 \u5e76\u53d1\u6807\u8bb0 \u2192 \u91cd\u65b0\u6807\u8bb0&#xff08;STW&#xff09; \u2192 \u5e76\u53d1\u6e05\u9664<\/p>\n<h5>4.6.3 \u4f18\u7f3a\u70b9<\/h5>\n<ul>\n<li>\u4f18\u70b9&#xff1a;\u5e76\u53d1\u6536\u96c6&#xff0c;\u4f4e\u505c\u987f<\/li>\n<li>\u7f3a\u70b9&#xff1a;\n<ul>\n<li>\u5bf9CPU\u8d44\u6e90\u654f\u611f<\/li>\n<li>\u65e0\u6cd5\u5904\u7406\u6d6e\u52a8\u5783\u573e<\/li>\n<li>\u4ea7\u751f\u5185\u5b58\u788e\u7247<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>4.7 G1\u6536\u96c6\u5668&#xff08;Garbage-First&#xff09;<\/h4>\n<h5>4.7.1 \u7279\u70b9<\/h5>\n<ul>\n<li>\u9762\u5411\u670d\u52a1\u7aef\u5e94\u7528<\/li>\n<li>\u5c06\u5806\u5212\u5206\u4e3a\u591a\u4e2aRegion<\/li>\n<li>\u53ef\u9884\u6d4b\u7684\u505c\u987f\u65f6\u95f4<\/li>\n<li>\u6574\u4f53\u4f7f\u7528\u6807\u8bb0-\u6574\u7406\u7b97\u6cd5&#xff0c;\u5c40\u90e8\u4f7f\u7528\u590d\u5236\u7b97\u6cd5<\/li>\n<\/ul>\n<h5>4.7.2 \u5de5\u4f5c\u6d41\u7a0b<\/h5>\n<p>\u521d\u59cb\u6807\u8bb0 \u2192 \u5e76\u53d1\u6807\u8bb0 \u2192 \u6700\u7ec8\u6807\u8bb0 \u2192 \u7b5b\u9009\u56de\u6536<\/p>\n<h5>4.7.3 \u5173\u952e\u53c2\u6570<\/h5>\n<ul>\n<li>-XX:&#043;UseG1GC&#xff1a;\u542f\u7528G1\u6536\u96c6\u5668<\/li>\n<li>-XX:MaxGCPauseMillis&#xff1a;\u76ee\u6807\u505c\u987f\u65f6\u95f4<\/li>\n<li>-XX:G1HeapRegionSize&#xff1a;Region\u5927\u5c0f<\/li>\n<\/ul>\n<h4>4.8 ZGC\u6536\u96c6\u5668<\/h4>\n<h5>4.8.1 \u7279\u70b9<\/h5>\n<ul>\n<li>\u8d85\u4f4e\u5ef6\u8fdf&#xff08;\u505c\u987f\u65f6\u95f4\u4e0d\u8d85\u8fc710ms&#xff09;<\/li>\n<li>\u652f\u6301TB\u7ea7\u5806\u5185\u5b58<\/li>\n<li>\u4f7f\u7528\u7740\u8272\u6307\u9488\u548c\u8bfb\u5c4f\u969c\u6280\u672f<\/li>\n<\/ul>\n<h5>4.8.2 \u5de5\u4f5c\u6d41\u7a0b<\/h5>\n<p>\u521d\u59cb\u6807\u8bb0 \u2192 \u5e76\u53d1\u6807\u8bb0 \u2192 \u5e76\u53d1\u9884\u5907\u91cd\u5206\u914d \u2192 \u5e76\u53d1\u91cd\u5206\u914d \u2192 \u5e76\u53d1\u91cd\u6620\u5c04<\/p>\n<h3>5. \u5783\u573e\u56de\u6536\u8c03\u4f18<\/h3>\n<h4>5.1 \u5173\u952e\u53c2\u6570<\/h4>\n<h5>5.1.1 \u5185\u5b58\u76f8\u5173<\/h5>\n<ul>\n<li>-Xms&#xff1a;\u521d\u59cb\u5806\u5927\u5c0f<\/li>\n<li>-Xmx&#xff1a;\u6700\u5927\u5806\u5927\u5c0f<\/li>\n<li>-Xmn&#xff1a;\u65b0\u751f\u4ee3\u5927\u5c0f<\/li>\n<li>-XX:SurvivorRatio&#xff1a;Eden\u4e0eSurvivor\u533a\u6bd4\u4f8b<\/li>\n<li>-XX:NewRatio&#xff1a;\u8001\u5e74\u4ee3\u4e0e\u65b0\u751f\u4ee3\u6bd4\u4f8b<\/li>\n<\/ul>\n<h5>5.1.2 \u6536\u96c6\u5668\u76f8\u5173<\/h5>\n<ul>\n<li>-XX:&#043;UseSerialGC&#xff1a;\u4f7f\u7528Serial\u6536\u96c6\u5668<\/li>\n<li>-XX:&#043;UseParNewGC&#xff1a;\u4f7f\u7528ParNew\u6536\u96c6\u5668<\/li>\n<li>-XX:&#043;UseParallelGC&#xff1a;\u4f7f\u7528Parallel Scavenge\u6536\u96c6\u5668<\/li>\n<li>-XX:&#043;UseConcMarkSweepGC&#xff1a;\u4f7f\u7528CMS\u6536\u96c6\u5668<\/li>\n<li>-XX:&#043;UseG1GC&#xff1a;\u4f7f\u7528G1\u6536\u96c6\u5668<\/li>\n<li>-XX:&#043;UseZGC&#xff1a;\u4f7f\u7528ZGC\u6536\u96c6\u5668<\/li>\n<\/ul>\n<h5>5.1.3 GC\u65e5\u5fd7<\/h5>\n<ul>\n<li>-verbose:gc&#xff1a;\u8f93\u51faGC\u65e5\u5fd7<\/li>\n<li>-XX:&#043;PrintGCDetails&#xff1a;\u6253\u5370GC\u8be6\u7ec6\u4fe1\u606f<\/li>\n<li>-XX:&#043;PrintGCDateStamps&#xff1a;\u6253\u5370GC\u65f6\u95f4\u6233<\/li>\n<li>-Xloggc:gc.log&#xff1a;GC\u65e5\u5fd7\u8f93\u51fa\u6587\u4ef6<\/li>\n<\/ul>\n<h4>5.2 \u8c03\u4f18\u539f\u5219<\/h4>\n<h5>5.2.1 \u9009\u62e9\u5408\u9002\u7684\u6536\u96c6\u5668<\/h5>\n<ul>\n<li>\u5ba2\u6237\u7aef\u5e94\u7528&#xff1a;Serial\u6536\u96c6\u5668<\/li>\n<li>\u670d\u52a1\u7aef\u5e94\u7528&#xff1a;G1\u6536\u96c6\u5668<\/li>\n<li>\u5bf9\u5ef6\u8fdf\u654f\u611f&#xff1a;ZGC\u6536\u96c6\u5668<\/li>\n<\/ul>\n<h5>5.2.2 \u5408\u7406\u8bbe\u7f6e\u5806\u5927\u5c0f<\/h5>\n<ul>\n<li>\u65b0\u751f\u4ee3\u5927\u5c0f&#xff1a;\u5806\u76841\/3\u52301\/2<\/li>\n<li>\u8001\u5e74\u4ee3\u5927\u5c0f&#xff1a;\u5806\u76841\/2\u52302\/3<\/li>\n<li>\u907f\u514d\u9891\u7e41Full GC<\/li>\n<\/ul>\n<h5>5.2.3 \u76d1\u63a7GC\u6d3b\u52a8<\/h5>\n<ul>\n<li>\u4f7f\u7528JVisualVM\u3001JConsole\u7b49\u5de5\u5177<\/li>\n<li>\u5206\u6790GC\u65e5\u5fd7<\/li>\n<li>\u76d1\u63a7\u5806\u5185\u5b58\u4f7f\u7528\u60c5\u51b5<\/li>\n<\/ul>\n<h4>5.3 \u5e38\u89c1\u95ee\u9898<\/h4>\n<h5>5.3.1 \u9891\u7e41Full GC<\/h5>\n<p>\u53ef\u80fd\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>\u8001\u5e74\u4ee3\u7a7a\u95f4\u4e0d\u8db3<\/li>\n<li>\u5927\u5bf9\u8c61\u76f4\u63a5\u8fdb\u5165\u8001\u5e74\u4ee3<\/li>\n<li>\u5185\u5b58\u6cc4\u6f0f<\/li>\n<\/ul>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<ul>\n<li>\u589e\u52a0\u8001\u5e74\u4ee3\u7a7a\u95f4<\/li>\n<li>\u4f18\u5316\u4ee3\u7801&#xff0c;\u51cf\u5c11\u5927\u5bf9\u8c61\u521b\u5efa<\/li>\n<li>\u68c0\u67e5\u5185\u5b58\u6cc4\u6f0f<\/li>\n<\/ul>\n<h5>5.3.2 GC\u505c\u987f\u65f6\u95f4\u8fc7\u957f<\/h5>\n<p>\u53ef\u80fd\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>\u5806\u5185\u5b58\u8fc7\u5927<\/li>\n<li>\u5bf9\u8c61\u56fe\u7ed3\u6784\u590d\u6742<\/li>\n<li>\u6536\u96c6\u5668\u9009\u62e9\u4e0d\u5f53<\/li>\n<\/ul>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<ul>\n<li>\u9009\u62e9\u5408\u9002\u7684\u6536\u96c6\u5668&#xff08;\u5982G1\u3001ZGC&#xff09;<\/li>\n<li>\u8c03\u6574GC\u505c\u987f\u65f6\u95f4\u76ee\u6807<\/li>\n<li>\u4f18\u5316\u5bf9\u8c61\u7ed3\u6784<\/li>\n<\/ul>\n<h3>6. \u603b\u7ed3<\/h3>\n<h4>6.1 \u5783\u573e\u56de\u6536\u673a\u5236\u7684\u91cd\u8981\u6027<\/h4>\n<ul>\n<li>\u81ea\u52a8\u7ba1\u7406\u5185\u5b58&#xff0c;\u964d\u4f4e\u5f00\u53d1\u590d\u6742\u5ea6<\/li>\n<li>\u907f\u514d\u5185\u5b58\u6cc4\u6f0f\u548c\u60ac\u7a7a\u6307\u9488<\/li>\n<li>\u63d0\u9ad8\u7a0b\u5e8f\u7a33\u5b9a\u6027\u548c\u53ef\u9760\u6027<\/li>\n<\/ul>\n<h4>6.2 \u9009\u62e9\u5783\u573e\u6536\u96c6\u5668\u7684\u8003\u8651\u56e0\u7d20<\/h4>\n<ul>\n<li>\u5ef6\u8fdf\u8981\u6c42&#xff1a;\u4f4e\u5ef6\u8fdf\u9009G1\u6216ZGC<\/li>\n<li>\u541e\u5410\u91cf\u8981\u6c42&#xff1a;\u9ad8\u541e\u5410\u91cf\u9009Parallel<\/li>\n<li>\u5185\u5b58\u5927\u5c0f&#xff1a;\u5927\u5185\u5b58\u9009G1\u6216ZGC<\/li>\n<li>\u5e94\u7528\u7c7b\u578b&#xff1a;\u5ba2\u6237\u7aef\u9009Serial&#xff0c;\u670d\u52a1\u7aef\u9009G1<\/li>\n<\/ul>\n<h4>6.3 \u672a\u6765\u53d1\u5c55\u8d8b\u52bf<\/h4>\n<ul>\n<li>\u66f4\u667a\u80fd\u7684\u5783\u573e\u56de\u6536\u7b97\u6cd5<\/li>\n<li>\u66f4\u4f4e\u7684\u505c\u987f\u65f6\u95f4<\/li>\n<li>\u66f4\u597d\u7684\u5185\u5b58\u5229\u7528\u6548\u7387<\/li>\n<li>\u4e0e\u5bb9\u5668\u5316\u6280\u672f\u7684\u6df1\u5ea6\u96c6\u6210<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3<br \/>\n1. \u5f15\u8a00<br \/>\n1.1 \u4ec0\u4e48\u662f\u5783\u573e\u56de\u6536\u673a\u5236&#xff1f;<br \/>\n\u5783\u573e\u56de\u6536&#xff08;Garbage Collection&#xff0c;GC&#xff09;\u662fJVM\u81ea\u52a8\u7ba1\u7406\u5185\u5b58\u7684\u4e00\u79cd\u673a\u5236\u3002\u5b83\u8d1f\u8d23\u56de\u6536\u4e0d\u518d\u4f7f\u7528\u7684\u5bf9\u8c61\u6240\u5360\u7528\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u907f\u514d\u5185\u5b58\u6cc4\u6f0f&#xff0c;\u786e\u4fdd\u7a0b\u5e8f\u80fd\u591f\u9ad8\u6548\u8fd0\u884c\u3002<br \/>\n1.2 \u4e3a\u4ec0\u4e48\u9700\u8981\u5783\u573e\u56de\u6536&#xff1f;<br \/>\n\u5728C\/C\u7b49\u8bed\u8a00\u4e2d&#xff0c;\u5f00\u53d1\u8005\u9700\u8981\u624b\u52a8\u7ba1\u7406\u5185\u5b58&#xff0c;\u8fd9\u5bb9\u6613\u5bfc\u81f4&#xff1a;<br \/>\n\u5185\u5b58\u6cc4\u6f0f&amp;#xff1a<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[426],"topic":[],"class_list":["post-101410","post","type-post","status-publish","format-standard","hentry","category-server","tag-jvm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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.wsisp.com\/helps\/101410.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3 1. \u5f15\u8a00 1.1 \u4ec0\u4e48\u662f\u5783\u573e\u56de\u6536\u673a\u5236&#xff1f; \u5783\u573e\u56de\u6536&#xff08;Garbage Collection&#xff0c;GC&#xff09;\u662fJVM\u81ea\u52a8\u7ba1\u7406\u5185\u5b58\u7684\u4e00\u79cd\u673a\u5236\u3002\u5b83\u8d1f\u8d23\u56de\u6536\u4e0d\u518d\u4f7f\u7528\u7684\u5bf9\u8c61\u6240\u5360\u7528\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u907f\u514d\u5185\u5b58\u6cc4\u6f0f&#xff0c;\u786e\u4fdd\u7a0b\u5e8f\u80fd\u591f\u9ad8\u6548\u8fd0\u884c\u3002 1.2 \u4e3a\u4ec0\u4e48\u9700\u8981\u5783\u573e\u56de\u6536&#xff1f; \u5728C\/C\u7b49\u8bed\u8a00\u4e2d&#xff0c;\u5f00\u53d1\u8005\u9700\u8981\u624b\u52a8\u7ba1\u7406\u5185\u5b58&#xff0c;\u8fd9\u5bb9\u6613\u5bfc\u81f4&#xff1a; \u5185\u5b58\u6cc4\u6f0f&amp;#xff1a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/101410.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-06T12:17:17+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/101410.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/101410.html\",\"name\":\"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-06T12:17:17+00:00\",\"dateModified\":\"2026-09-06T12:17:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/101410.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/101410.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/101410.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/101410.html","og_locale":"zh_CN","og_type":"article","og_title":"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3 1. \u5f15\u8a00 1.1 \u4ec0\u4e48\u662f\u5783\u573e\u56de\u6536\u673a\u5236&#xff1f; \u5783\u573e\u56de\u6536&#xff08;Garbage Collection&#xff0c;GC&#xff09;\u662fJVM\u81ea\u52a8\u7ba1\u7406\u5185\u5b58\u7684\u4e00\u79cd\u673a\u5236\u3002\u5b83\u8d1f\u8d23\u56de\u6536\u4e0d\u518d\u4f7f\u7528\u7684\u5bf9\u8c61\u6240\u5360\u7528\u7684\u5185\u5b58\u7a7a\u95f4&#xff0c;\u907f\u514d\u5185\u5b58\u6cc4\u6f0f&#xff0c;\u786e\u4fdd\u7a0b\u5e8f\u80fd\u591f\u9ad8\u6548\u8fd0\u884c\u3002 1.2 \u4e3a\u4ec0\u4e48\u9700\u8981\u5783\u573e\u56de\u6536&#xff1f; \u5728C\/C\u7b49\u8bed\u8a00\u4e2d&#xff0c;\u5f00\u53d1\u8005\u9700\u8981\u624b\u52a8\u7ba1\u7406\u5185\u5b58&#xff0c;\u8fd9\u5bb9\u6613\u5bfc\u81f4&#xff1a; \u5185\u5b58\u6cc4\u6f0f&amp;#xff1a","og_url":"https:\/\/www.wsisp.com\/helps\/101410.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-06T12:17:17+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/101410.html","url":"https:\/\/www.wsisp.com\/helps\/101410.html","name":"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-06T12:17:17+00:00","dateModified":"2026-09-06T12:17:17+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/101410.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/101410.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/101410.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"JVM\u5783\u573e\u56de\u6536\u673a\u5236\u8be6\u89e3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/101410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=101410"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/101410\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=101410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=101410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=101410"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=101410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}