RFR [9] Modular Source Code
Erik Joelsson
erik.joelsson at oracle.com
Wed Aug 13 13:16:53 UTC 2014
On 2014-08-13 14:17, Chris Hegarty wrote:
> Thanks for the explanation Erik.
>
> I have taken a pass over the changes, and they look ok to me ( I am
> happy to be listed as a reviewer ). I also did several build and test
> runs on Solaris, Linux, Max OSX, and Windows. All look good.
>
> I am seeing, in some cases, about a 20% reduction in image build times
> on an 8 core i7, running Linux x86.
>
Nice to hear!
> One question; Are there any new requirements on build systems as a
> result of these changes?
>
Yes and no. The build should still be compatible with gnu make 3.81.
However, certain builds of that make version (particularly the one we
have used for jdk8 internally) are known to crash in Cygwin and it is
instead recommended to use a newer 4.0 version of make in Cygwin. Also
to get good concurrent build performance on Windows, gnu make 4.0 is
required for Cygwin. I have done test builds with msys and it seems to
be working too.
One more thing that I forgot to mention. If you are using gnu make 4.0,
there is a new feature called output-sync that can be enabled that will
make it somewhat easier to read the build output. This can be enabled
either with the configure parameter --with-output-sync=recurse, or at
the make command line "make OUTPUT_SYNC=recurse". (it will be enabled by
default in JPRT). More information on this can be found here:
http://www.gnu.org/software/make/manual/make.html#Parallel-Output
/Erik
More information about the jdk9-dev
mailing list