mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
always run eclipse compiler single-threaded
This commit is contained in:
@@ -745,6 +745,7 @@ public class BuildManager implements ApplicationComponent{
|
||||
if (IS_UNIT_TEST_MODE) {
|
||||
cmdLine.addParameter("-Dtest.mode=true");
|
||||
}
|
||||
cmdLine.addParameter("-Djdt.compiler.useSingleThread=true"); // always run eclipse compiler in single-threaded mode
|
||||
|
||||
final String shouldGenerateIndex = System.getProperty(GlobalOptions.GENERATE_CLASSPATH_INDEX_OPTION);
|
||||
if (shouldGenerateIndex != null) {
|
||||
|
||||
@@ -159,7 +159,7 @@ compiler.process.32bit.vm.on.mac=true
|
||||
# suppress inspection "UnusedProperty"
|
||||
compiler.process.32bit.vm.on.mac.description=Force -d32 VM option on Mac (recommended for faster startup and lower memory footprint).
|
||||
|
||||
compiler.process.vm.options=-Xss2048k -Djdt.compiler.useSingleThread=true
|
||||
compiler.process.vm.options=-Xss2048k -Dcompile.parallel=false -Dcompile.parallel.max.threads=4
|
||||
# suppress inspection "UnusedProperty"
|
||||
compiler.process.vm.options.description=Additional options for the build process' VM.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user