Using NetBeans to compile HotSpot

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.

Getting ready

The only prerequisite for this recipe is the availability of source code on the machine, and Netbeans installed, with an OpenJDK project created.

How to do it...

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 ...

Get OpenJDK Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.