On 9/12/2012 1:54 PM, Alan Bateman wrote:
On 12/09/2012 06:46, Fredrik Öhrström wrote:
:
Excellent. I hope you realize how valuable it is that the build system recompiled the proper source files, then proceed to generate the the jni headers output because of native methods in those classes that were recompiled, then proceed to recompile only the shared libraries that implement these jni interfaces.

Later we will make sure that if the recompile of the java source file does not change the jni header, it will not be updated/touched.

Have you tried making an actual change in a Java source file that changes the public api? To see how the build system recompiles all packages
that import from that changed package?
I am aware of how clever the new build is, too clever sometimes!! So when I removed the -Xprefer:source then it immediately detected my attempt at subterfuge:

  Dropping old javac_state since a new command line is used

In terms of timings then it reduced that specific incremental build case from 33 to 22s, which I think it getting into the right ball park.

That sounds promising. Thanks for testing this.

--
best regards,
Anthony

Reply via email to