How to speed up Hotspot Build

Peng Du imdupeng at gmail.com
Sat Feb 7 18:51:10 UTC 2009


Hello, guys

Recently, I am working on some slight modifications of Hotspot VM without
touching the JDK part. So, I have to compile Hotspot quite frequently.
However, the build is awfully slow on my machine with a Intel 2.4G dual core
CPU, 3G memory, and OpenSUSE11. It takes about 2-3 hours for one build.

Here is the relevant fragment of my build script:
==================================
export MAKE_VERBOSE=true
export DEBUG_GDB3=true
export ARCH_DATA_MODEL=32
export ALT_PARALLEL_COMPILE_JOBS=4
export HOTSPOT_BUILD_JOBS=4

export BUILD_HOTSPOT=true

export BUILD_LANGTOOLS=false
export BUILD_JDK=false
export BUILD_JAXP=false
export BUILD_JAXWS=false
export BUILD_CORBA=false
export BUILD_DEPLOY=false
export BUILD_J2SE=false

export DEV_ONLY=true
export SKIP_DEBUG_BUILD=false
export SKIP_FASTDEBUG_BUILD=true
==================================

Any ideas on how to tune this to speed up the build? Or, are there problems
with the script?

Thanks!

Peng Du
2/7/2009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20090207/08bbddd5/attachment.htm>


More information about the build-dev mailing list