mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
generate less garbage
This commit is contained in:
@@ -110,7 +110,7 @@ class OptimizedFileManager extends DefaultFileManager {
|
||||
private boolean isFile(File root) {
|
||||
Boolean cachedIsFile = myIsFile.get(root);
|
||||
if (cachedIsFile == null) {
|
||||
cachedIsFile = root.isFile();
|
||||
cachedIsFile = Boolean.valueOf(root.isFile());
|
||||
myIsFile.put(root, cachedIsFile);
|
||||
}
|
||||
return cachedIsFile.booleanValue();
|
||||
|
||||
@@ -164,7 +164,7 @@ class OptimizedFileManager17 extends com.sun.tools.javac.file.JavacFileManager {
|
||||
private boolean isFile(File root) {
|
||||
Boolean cachedIsFile = myIsFile.get(root);
|
||||
if (cachedIsFile == null) {
|
||||
cachedIsFile = root.isFile();
|
||||
cachedIsFile = Boolean.valueOf(root.isFile());
|
||||
myIsFile.put(root, cachedIsFile);
|
||||
}
|
||||
return cachedIsFile.booleanValue();
|
||||
|
||||
Binary file not shown.
@@ -145,7 +145,7 @@ compiler.process.heap.size.description=Heap size value in MB for the build proce
|
||||
compiler.process.32bit.vm.on.mac=true
|
||||
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=-ea
|
||||
compiler.process.vm.options=
|
||||
compiler.process.vm.options.description=Additional options for compile server's VM
|
||||
|
||||
compiler.process.use.memory.temp.cache=true
|
||||
|
||||
Reference in New Issue
Block a user