hg: build-infra/jdk8/jdk: 4 new changesets

Erik Joelsson erik.joelsson at oracle.com
Thu Sep 20 01:54:02 PDT 2012


I spent a day analyzing the output of 'make images LOG=debug' when 
rebuilding with no changes. I was amazed at the amount of shell commands 
that were executed and worked on minimizing them as much as possible. 
The results on linux are very minor, perhaps a second or two, but it 
fluctuates too much to really be measurable (total time around 6 secs on 
my machine). On windows/cygwin on the other hand, I got these typical 
numbers:

Before:
-- Build times ----------
Target
Start 2012-09-19 17:07:01
End   2012-09-19 17:08:25
00:00:03 corba
00:00:01 hotspot
00:00:01 jaxp
00:00:02 jaxws
00:00:49 jdk
00:00:20 jdk-images
00:00:02 langtools
00:01:24 TOTAL
-------------------------

After:
-- Build times ----------
Target
Start 2012-09-19 17:23:47
End   2012-09-19 17:24:32
00:00:02 corba
00:00:02 hotspot
00:00:01 jaxp
00:00:01 jaxws
00:00:16 jdk
00:00:16 jdk-images
00:00:01 langtools
00:00:45 TOTAL
-------------------------

A pretty decent improvement imo. There are still a big load of finds 
executed in the jdk repo to find all source and target files to check 
their timestamps, but I don't really see a good way of removing more 
without introducing unnecessary extra complexity.

/Erik

On 2012-09-20 09:44, erik.joelsson at oracle.com wrote:
> Changeset: 3a2140551f9c
> Author:    erikj
> Date:      2012-09-19 16:35 +0200
> URL:       http://hg.openjdk.java.net/build-infra/jdk8/jdk/rev/3a2140551f9c
>
> Removed unnecessary shell commands and fixed some dependencies to
> improve rebuild speed.
>
> ! makefiles/CompileDemos.gmk
> ! makefiles/CompileJavaClasses.gmk
> ! makefiles/CopyIntoClasses.gmk
> ! makefiles/CreateJars.gmk
> ! makefiles/GenerateClasses.gmk
> ! makefiles/GenerateJavaSources.gmk
> ! makefiles/GensrcBuffer.gmk
> ! makefiles/GensrcCLDR.gmk
> ! makefiles/GensrcCharacterData.gmk
> ! makefiles/GensrcCharsetCoder.gmk
> ! makefiles/GensrcCharsetMapping.gmk
> ! makefiles/GensrcExceptions.gmk
> ! makefiles/GensrcIcons.gmk
> ! makefiles/GensrcJDWP.gmk
> ! makefiles/GensrcJObjC.gmk
> ! makefiles/GensrcLocaleDataMetaInfo.gmk
> ! makefiles/GensrcMisc.gmk
> ! makefiles/GensrcProperties.gmk
> ! makefiles/GensrcSwing.gmk
> ! makefiles/GensrcX11Wrappers.gmk
> ! makefiles/Makefile
>
>



More information about the build-infra-dev mailing list