Faster rebuild with GNU gold linker
ioi.lam at oracle.com
Sun Feb 24 03:52:29 UTC 2019
BTW, for those who want to save an extra second or so in rebuilding hotspot:
make hotspot VM_VERSION_OBJ=xxx
This doesn't rebuild vm_version.o (which is usually built in a separate
pass after all other objects have been built).
There are some caveats. See my comments in JDK-8218577.
On 2/20/19 2:09 AM, Andrew Haley wrote:
> On 2/20/19 7:54 AM, Ioi Lam wrote:
>> Ahh, I was using a debug build of lld. After making a release build, the
>> link time drops to 1.1 seconds! It's definitely better than gold.
> Right, exactly. And when you're working on just one file in HotSpot,
> this can make a very significant difference to the programmer experience.
More information about the build-dev