提交 88cd7c4d 编写于 作者: xieshanghe's avatar xieshanghe

java 8:(Perm Gen) split into (Compressed Class Space) and Metaspace

上级 883f7207
...@@ -30,7 +30,7 @@ public class CMSCollectorModule extends MemoryPoolModule { ...@@ -30,7 +30,7 @@ public class CMSCollectorModule extends MemoryPoolModule {
} }
@Override protected String[] getPermNames() { @Override protected String[] getPermNames() {
return new String[] {"CMS Perm Gen"}; return new String[] {"CMS Perm Gen", "Compressed Class Space"};
} }
@Override protected String[] getCodeCacheNames() { @Override protected String[] getCodeCacheNames() {
......
...@@ -30,7 +30,7 @@ public class G1CollectorModule extends MemoryPoolModule { ...@@ -30,7 +30,7 @@ public class G1CollectorModule extends MemoryPoolModule {
} }
@Override protected String[] getPermNames() { @Override protected String[] getPermNames() {
return new String[] {"G1 Perm Gen"}; return new String[] {"G1 Perm Gen", "Compressed Class Space"};
} }
@Override protected String[] getCodeCacheNames() { @Override protected String[] getCodeCacheNames() {
......
...@@ -30,7 +30,7 @@ public class SerialCollectorModule extends MemoryPoolModule { ...@@ -30,7 +30,7 @@ public class SerialCollectorModule extends MemoryPoolModule {
} }
@Override protected String[] getPermNames() { @Override protected String[] getPermNames() {
return new String[] {"Perm Gen"}; return new String[] {"Perm Gen", "Compressed Class Space"};
} }
@Override protected String[] getCodeCacheNames() { @Override protected String[] getCodeCacheNames() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册