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

This commit is contained in:
neeuq 2017-11-01 23:25:21 +08:00
parent 883f7207dc
commit 88cd7c4d0d
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ public class CMSCollectorModule extends MemoryPoolModule {
}
@Override protected String[] getPermNames() {
return new String[] {"CMS Perm Gen"};
return new String[] {"CMS Perm Gen", "Compressed Class Space"};
}
@Override protected String[] getCodeCacheNames() {

View File

@ -30,7 +30,7 @@ public class G1CollectorModule extends MemoryPoolModule {
}
@Override protected String[] getPermNames() {
return new String[] {"G1 Perm Gen"};
return new String[] {"G1 Perm Gen", "Compressed Class Space"};
}
@Override protected String[] getCodeCacheNames() {

View File

@ -30,7 +30,7 @@ public class SerialCollectorModule extends MemoryPoolModule {
}
@Override protected String[] getPermNames() {
return new String[] {"Perm Gen"};
return new String[] {"Perm Gen", "Compressed Class Space"};
}
@Override protected String[] getCodeCacheNames() {