Skip to main content

Kelly O'Hair: Faster OpenJDK Build Tricks

Kelly O'Hair provides Faster OpenJDK Build Tricks:

Here are a few tips and tricks to get faster OpenJDK builds. * RAM: RAM is cheap, if you don't have at least 2Gb RAM, go buy yourself some RAM for Xmas. ;^) * LOCAL DISK: Use local disk if at all possible, the difference in build time is significant. This mostly applies to the repository or forest you are building (and where the build output is also landing). Also, to a lesser degree, frequently accessed items like the boot jdk (ALT_BOOTDIR). Local disk is your best choice, and if possible /tmp on some systems is even better. * PARALLEL_COMPILE_JOBS=N ...

Source:
Community: OpenJDK