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

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Sep 28 09:22:35 UTC 2015


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