switch (type) {
case blkio:
result.put(SubSystemType.blkio, new BlkioCore(dir));
break;
case cpuacct:
result.put(SubSystemType.cpuacct, new CpuacctCore(dir));
break;
case cpuset:
result.put(SubSystemType.cpuset, new CpusetCore(dir));
break;
case cpu: