Building JDK8 on OS X 10.8.4

Kelly O'Hair kellyohair at gmail.com
Thu Aug 15 13:20:10 PDT 2013


On Aug 15, 2013, at 12:10 PM, Marko Asplund wrote:

> For an impatient newbie it might be helpful to mention that get_source.sh can take a _very_ long time to execute, as one can start doubting whether the process has hung somehow.
> Are there any plans for speeding this up in the future?
> 


It took me less than 5mins to get all the OpenJDK sources, from scratch, on my little Mac laptop.
If it takes much longer than that, I don't think get_source.sh is to blame.

-kto

% time hg clone http://hg.openjdk.java.net/jdk8/jdk8 jdk8

requesting all changes
adding changesets
adding manifests
adding file changes
added 764 changesets with 1008 changes to 118 files
updating to branch default
101 files updated, 0 files merged, 0 files removed, 0 files unresolved

real	0m4.235s
user	0m0.805s
sys	0m0.166s


%  cd jdk8

% time bash ./get_source.sh 

# Repositories:  corba jaxp jaxws langtools jdk hotspot nashorn 

                corba:   /usr/bin/python -u /usr/local/bin/hg clone http://hg.openjdk.java.net/jdk8/jdk8/corba corba
                 jaxp:   /usr/bin/python -u /usr/local/bin/hg clone http://hg.openjdk.java.net/jdk8/jdk8/jaxp jaxp
                corba:   requesting all changes
                 jaxp:   requesting all changes
                corba:   adding changesets
                 jaxp:   adding changesets
                corba:   adding manifests
                 jaxp:   adding manifests
Waiting 5 secs before spawning next background command.
                corba:   adding file changes
                 jaxp:   adding file changes
                jaxws:   /usr/bin/python -u /usr/local/bin/hg clone http://hg.openjdk.java.net/jdk8/jdk8/jaxws jaxws
            langtools:   /usr/bin/python -u /usr/local/bin/hg clone http://hg.openjdk.java.net/jdk8/jdk8/langtools langtools
                jaxws:   requesting all changes
            langtools:   requesting all changes
Waiting 5 secs before spawning next background command.
                jaxws:   adding changesets
            langtools:   adding changesets
                jaxws:   adding manifests
                  jdk:   /usr/bin/python -u /usr/local/bin/hg clone http://hg.openjdk.java.net/jdk8/jdk8/jdk jdk
              hotspot:   /usr/bin/python -u /usr/local/bin/hg clone http://hg.openjdk.java.net/jdk8/jdk8/hotspot hotspot
                jaxws:   adding file changes
            langtools:   adding manifests
                  jdk:   requesting all changes
              hotspot:   requesting all changes
Waiting 5 secs before spawning next background command.
              hotspot:   adding changesets
                  jdk:   adding changesets
                corba:   added 496 changesets with 3467 changes to 1386 files
                corba:   updating to branch default
              nashorn:   /usr/bin/python -u /usr/local/bin/hg clone http://hg.openjdk.java.net/jdk8/jdk8/nashorn nashorn
                corba:   1340 files updated, 0 files merged, 0 files removed, 0 files unresolved
              nashorn:   requesting all changes
            langtools:   adding file changes
              nashorn:   adding changesets
              nashorn:   adding manifests
              nashorn:   adding file changes
              hotspot:   adding manifests
                  jdk:   adding manifests
              nashorn:   added 486 changesets with 5126 changes to 1859 files
              nashorn:   updating to branch default
              nashorn:   1755 files updated, 0 files merged, 0 files removed, 0 files unresolved
                 jaxp:   added 475 changesets with 5943 changes to 4223 files
                 jaxp:   updating to branch default
              hotspot:   adding file changes
                 jaxp:   2075 files updated, 0 files merged, 0 files removed, 0 files unresolved
                jaxws:   added 394 changesets with 11831 changes to 6699 files
                jaxws:   updating to branch default
            langtools:   added 1938 changesets with 19075 changes to 6603 files
                jaxws:   3686 files updated, 0 files merged, 0 files removed, 0 files unresolved
            langtools:   updating to branch default
            langtools:   5878 files updated, 0 files merged, 0 files removed, 0 files unresolved
                  jdk:   adding file changes
              hotspot:   added 5060 changesets with 31932 changes to 4864 files
              hotspot:   updating to branch default
              hotspot:   4014 files updated, 0 files merged, 0 files removed, 0 files unresolved
                  jdk:   added 7829 changesets with 77963 changes to 24990 files
                  jdk:   updating to branch default
                  jdk:   22246 files updated, 0 files merged, 0 files removed, 0 files unresolved
# Repositories:  . ./corba ./hotspot ./jaxp ./jaxws ./jdk ./langtools ./nashorn 

                    .:   cd . && /usr/bin/python -u /usr/local/bin/hg pull -u
              ./corba:   cd ./corba && /usr/bin/python -u /usr/local/bin/hg pull -u
            ./hotspot:   cd ./hotspot && /usr/bin/python -u /usr/local/bin/hg pull -u
               ./jaxp:   cd ./jaxp && /usr/bin/python -u /usr/local/bin/hg pull -u
              ./jaxws:   cd ./jaxws && /usr/bin/python -u /usr/local/bin/hg pull -u
                ./jdk:   cd ./jdk && /usr/bin/python -u /usr/local/bin/hg pull -u
          ./langtools:   cd ./langtools && /usr/bin/python -u /usr/local/bin/hg pull -u
            ./nashorn:   cd ./nashorn && /usr/bin/python -u /usr/local/bin/hg pull -u
Waiting 5 secs before spawning next background command.
                ./jdk:   pulling from http://hg.openjdk.java.net/jdk8/jdk8/jdk
            ./hotspot:   pulling from http://hg.openjdk.java.net/jdk8/jdk8/hotspot
          ./langtools:   pulling from http://hg.openjdk.java.net/jdk8/jdk8/langtools
            ./nashorn:   pulling from http://hg.openjdk.java.net/jdk8/jdk8/nashorn
              ./jaxws:   pulling from http://hg.openjdk.java.net/jdk8/jdk8/jaxws
                    .:   pulling from http://hg.openjdk.java.net/jdk8/jdk8
               ./jaxp:   pulling from http://hg.openjdk.java.net/jdk8/jdk8/jaxp
              ./corba:   pulling from http://hg.openjdk.java.net/jdk8/jdk8/corba
            ./hotspot:   searching for changes
          ./langtools:   searching for changes
          ./langtools:   no changes found
              ./jaxws:   searching for changes
              ./jaxws:   no changes found
                ./jdk:   searching for changes
                ./jdk:   no changes found
            ./nashorn:   searching for changes
            ./nashorn:   no changes found
            ./hotspot:   no changes found
                    .:   searching for changes
                    .:   no changes found
               ./jaxp:   searching for changes
               ./jaxp:   no changes found
              ./corba:   searching for changes
              ./corba:   no changes found

real	3m43.747s
user	0m0.175s
sys	0m0.294s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/web-discuss/attachments/20130815/9dd46b90/attachment-0001.html 


More information about the web-discuss mailing list