jdk 8 building just jdk

Phil Race philip.race at oracle.com
Sat Jul 27 06:24:21 UTC 2013


Flogging a dead horse here ..

 > it shouldn't really be necessary to do partial builds any more (it 
was way too fragile in the past with the old build)

I whole heartedly disagree. I've said it before and I say it again.
I do not want to build hotspot or anything else besides JDK
I do not want to maintain all the disk space for these.
The overhead of these repos is painful.
It is not fragile to build only JDK. I have > 10 years of experience here.

I used to do incrementals in 10-15 seconds with the old build. Much 
better than 3 mins.
I tried JDK_FILTER but it was not reliable. sjavac working by default 
was supposed to
be a pre-requisite to the new build but that didn't happen.

I've learned the new build is fast on Linux but slow on Windows which is 
what matters most.

Bear in mind that 999/1000 of my builds are incremental and calculate 
how that adds up.

Bottom line: the new build is costing me a lot. If people who don't work 
primarily on
Windows aren't working on this, then that needs to be fixed.

-phil

On 7/26/13 10:49 PM, Alan Bateman wrote:
> On 26/07/2013 20:38, Mike Duigou wrote:
>> On Jul 26 2013, at 18:41 , Pete Brunet wrote:
>>
>>> Am doing my first jdk8 build.  After reading through the build readme I
>>> didn't see any info on building just jdk and using an import lib.  I'm
>>> guessing this is no longer possible but checking...
>> It's probably possible but usually not necessary. Even on a modest 
>> system a full build takes only 20 minutes and an incremental rebuild 
>> is less than 3 minutes (even faster if you use sjavac or JDK_FILTER).
>>
> I agree, it shouldn't really be necessary to do partial builds any 
> more (it was way too fragile in the past with the old build). That 
> said, the new build does have --with-import-* options to configure the 
> build to import some of the components from another JDK.
>
> -Alan




More information about the build-dev mailing list