Compiling 10459 java files when 1 is all that is needed.

Tim Bell tim.bell at oracle.com
Mon May 20 21:58:40 UTC 2013


Phil:

> That should make it faster but does it fix what seems like
> non-existent dependency analysis in the build ?

sjavac will be the tool providing that accurate dependency analysis.  It 
is perfectly positioned to understand what needs to be done.

Tim

> -phil.
>
> On 5/20/2013 1:07 PM, Jonathan Gibbons wrote:
>> On 05/20/2013 01:04 PM, Phil Race wrote:
>>> I am getting very frustrated trying to do some simple work
>>> on my Mac using JDK 8. I touch *one* .java source file and
>>> I have to wait > 4 minutes for the build system which goes
>>> off and compiles everything. I have an SSD and i7 chip
>>> so I don't want to imagine what it would be like on a slower
>>> system :
>>>
>>> ## Starting jdk
>>> Compiling 10459 files for BUILD_JDK
>>> ....
>>> ....
>>> ....
>>> ## Finished jdk (build time 00:04:07)
>>>
>>> Why is it doing this ?
>>>
>>> -phil.
>>>
>>>
>>
>> Phil,
>>
>> The plan is to get sjavac running reliably on all platforms
>> and enabled by default.
>>
>> In the meantime, you can try it out by using --enable-sjavac
>> when you run configure.
>>
>> -- Jon
>




More information about the build-dev mailing list