How to speed up Hotspot Build
Kelly O'Hair
Kelly.Ohair at Sun.COM
Sat Feb 7 18:57:01 UTC 2009
If all you are working on is hotspot, you should be able to
use the hotspot/make/Makefile alone.
It will build hotspot and copy it into a jdk image for you.
Try 'make help'
-kto
Peng Du wrote:
> 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
>
More information about the build-dev
mailing list