mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
constant
This commit is contained in:
@@ -33,12 +33,13 @@ import com.intellij.util.xmlb.XmlSerializerUtil;
|
||||
public class CompilerWorkspaceConfiguration implements PersistentStateComponent<CompilerWorkspaceConfiguration> {
|
||||
public static final int DEFAULT_COMPILE_PROCESS_HEAP_SIZE = 700;
|
||||
public static final String DEFAULT_COMPILE_PROCESS_VM_OPTIONS = "-ea -XX:+UseConcMarkSweepGC";
|
||||
private static final int CORES_COUNT = Runtime.getRuntime().availableProcessors();
|
||||
|
||||
public boolean AUTO_SHOW_ERRORS_IN_EDITOR = true;
|
||||
@Deprecated public boolean CLOSE_MESSAGE_VIEW_IF_SUCCESS = true;
|
||||
public boolean CLEAR_OUTPUT_DIRECTORY = true;
|
||||
public boolean USE_COMPILE_SERVER = true;
|
||||
public boolean MAKE_PROJECT_ON_SAVE = Runtime.getRuntime().availableProcessors() > 2;
|
||||
public boolean MAKE_PROJECT_ON_SAVE = CORES_COUNT > 2;
|
||||
public boolean PARALLEL_COMPILATION = false;
|
||||
public int COMPILER_PROCESS_HEAP_SIZE = DEFAULT_COMPILE_PROCESS_HEAP_SIZE;
|
||||
public String COMPILER_PROCESS_ADDITIONAL_VM_OPTIONS = DEFAULT_COMPILE_PROCESS_VM_OPTIONS;
|
||||
|
||||
Reference in New Issue
Block a user