Hello, guys<br><br>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. <br>
<br>Here is the relevant fragment of my build script:<br>==================================<br>export MAKE_VERBOSE=true<br>export DEBUG_GDB3=true<br>export ARCH_DATA_MODEL=32<br>export ALT_PARALLEL_COMPILE_JOBS=4<br>export HOTSPOT_BUILD_JOBS=4<br>
<br>export BUILD_HOTSPOT=true<br><br>export BUILD_LANGTOOLS=false<br>export BUILD_JDK=false<br>export BUILD_JAXP=false<br>export BUILD_JAXWS=false<br>export BUILD_CORBA=false<br>export BUILD_DEPLOY=false<br>export BUILD_J2SE=false<br>
<br>export DEV_ONLY=true<br>export SKIP_DEBUG_BUILD=false<br>export SKIP_FASTDEBUG_BUILD=true<br>==================================<br><br>Any ideas on how to tune this to speed up the build? Or, are there problems with the script? <br>
<br>Thanks!<br><br>Peng Du<br>2/7/2009<br><br>