Community
Participate
Working Groups
With multi-core CPUs becoming affordable, I think it is about time that eclipse JDT build should took advantage of available CPUs. Some thing like 'make -j ' flag. Number of CPUs to be used could be made configurable in Preferences
I think this is a dup of bug 126121
(In reply to comment #1) > I think this is a dup of bug 126121 > Indeed, thanks for pointing this. *** This bug has been marked as a duplicate of bug 126121 ***
Reopening as this is not really a dup of bug 126121. Bug 126121 is about parallelizing the whole build process. Here the request is to ensure that the compiler uses multiple CPUs when available.
Reassigning to Kent that released this support on Friday without associating a bug to his changes.
*** Bug 225646 has been marked as a duplicate of this bug. ***
This was released for 3.4M7 on Friday.
In case this change caused deadlocks or other problems, one can disable it by setting the "jdt.compiler.useSingleThread" property to "true" E.g. passing the following as a VM argument when starting Eclipse: -Djdt.compiler.useSingleThread=true
Verified for 3.4M7 using I20080427-2000
(In reply to comment #8) > Verified for 3.4M7 using I20080427-2000 > Can anyone point me where these changes were made? I'm interested in taking a look but couldn't find anything on this bug or in release notes.
Nirav - take a look at the 2 classes; org.eclipse.jdt.internal.compiler.ReadManager org.eclipse.jdt.internal.compiler.ProcessTaskManager & where they attach to the Compiler. If you need any more information, just let us know.