Speeding up the build process of OpenJDK (original) (raw)

Manas Thakur manasthakur17 at gmail.com
Mon Sep 28 10:20:48 UTC 2015


I could observe that hotspot itself takes more than 90% of the time. The compilation first takes approximately two minutes before the generation of the precompiled header. Then the compilation of various files takes about 15-20 minutes.

Regards, Manas

On 28-Sep-2015, at 2:52 pm, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:

On 2015-09-28 11:22, Manas Thakur wrote: No, it includes the images (make images). But the changes I do are usually only in hotspot. Building complete images is slower than a default build ("exploded image") and most often not needed. Try doing it in separate steps: make hotspot make jdk make images and check how long each step takes. /Magnus

Regards, Manas On 28-Sep-2015, at 2:46 pm, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:

On 2015-09-28 10:59, Manas Thakur wrote: Hello all,

I use OpenJDK 8 built on Mac OS X Yosemite. The compilation process after doing even minor changes is very slow (takes about 15-20 minutes; with ccache enabled). Is it because the gcc version I have to use on Yosemite is older (gcc 4.2 supplied with Xcode 4.6.3)? If yes, any ideas on speeding up the incremental builds? Is this for building only hotspot? E.g., "make hotspot"? /Magnus



More information about the hotspot-dev mailing list