pull/42/head
otter 9 years ago
parent c3c5e7928b
commit 000ec16bf8

@ -63,8 +63,7 @@ public class PerformanceMemory_p {
System.gc();
prop.put("gc", "1");
prop.put("autoreload.checked", "1");
} else {
if (post.containsKey("dummy")) {
} else if (post.containsKey("dummy")) {
boolean simulatedshortmemory = post.containsKey("simulatedshortmemory");
MemoryControl.setSimulatedShortStatus(simulatedshortmemory);
if (simulatedshortmemory) prop.put("autoreload.checked", "1");
@ -73,7 +72,6 @@ public class PerformanceMemory_p {
MemoryControl.setStandardStrategy(std);
}
}
}
prop.put("simulatedshortmemory.checked", MemoryControl.getSimulatedShortStatus() ? 1 : 0);
prop.put("useStandardmemoryStrategy.checked", env.getConfigBool("memory.standardStrategy", true) ? 1 : 0);

Loading…
Cancel
Save