[9] RFR(M) 8166416: [AOT] Integrate JDK build changes and launcher 'jaotc' for AOT compiler
Alan Bateman
Alan.Bateman at oracle.com
Fri Oct 28 08:43:42 UTC 2016
On 28/10/2016 09:34, Erik Joelsson wrote:
>
> but maybe jlink is able to strip the debug info from java classes now?
> In that case we could consider globally enabling -g for product builds.
Yes, it can, `jlink --strip-debug` (or `-G`). A good test would be to
build with `javac -g` and then strip the debug information when
generating the JRE image to see that it comes out at around the same
size as the current build.
-Alan.
More information about the build-dev
mailing list