OpenJDK rebuilding on windows takes a long time

Erik Joelsson erik.joelsson at oracle.com
Mon Feb 11 12:03:20 UTC 2013


The long term solution to this is sjavac. I do not know if it has made 
it into that forest yet. You can try by adding --enable-sjavac to 
configure and do a clean build. If the build works, you have it, and 
incremental builds will be much faster.

/Erik

On 2013-02-11 12:22, Alexander Scherbatiy wrote:
> On 2/8/2013 6:46 PM, Erik Joelsson wrote:
>> Ccache is not supported on windows since it doesn't work with visual 
>> studio AFAIK.
>>
>> What kind of change did you do? Was it in native code or java and in 
>> which repository?
>   I use the http://hg.openjdk.java.net/jdk8/awt repository, edit java 
> code and build the jdk.
>  To reproduce the issue:
>   - open the javax.swing.JFrame class and add a comment line:
>     // a comment
>   - build jdk
>
> ----- Build times -------
> Start 2013-02-11 15:09:55
> End   2013-02-11 15:17:08
> 00:00:03 corba
> 00:00:02 hotspot
> 00:00:01 jaxp
> 00:00:03 jaxws
> 00:06:54 jdk
> 00:00:02 langtools
> 00:07:13 TOTAL
> -------------------------
>
> My environment:
>   OS: Windows 7 Professional, x64
>   Processor - Intel Core i7
>   Memory - 8 GB
>
>  The log file is attached.
>
>  Thanks,
>  Alexandr.
>>
>> /Erik
>>
>



More information about the build-dev mailing list