When doing HotSpot development, it is very annoying to wait for a complete OpenJDK build to be executed. So, it makes sense to exclude other parts and compile just what we are interested in, that is, the HotSpot part. This recipe will explain how to do that.
The only prerequisite for this recipe is the availability of source code on the machine, and Netbeans installed, with an OpenJDK project created.
This is a very simple recipe to follow. If you have already completed Setting up development environment with NetBeans, the only thing which is required to be done is to change the argument hotspot_build
and add another argument DEBUG_NAME=debug
, the whole build command line should look like this:
build.sh hotspot-build DEBUG_NAME=debug
The Build/Make screen of the Project Properties dialog in that case will look like this: