Hi Severin,

On 30/05/2018 7:15 PM, Severin Gehwolf wrote:
Hi,

Could I please get a review of this one-liner fix for a bootcycle-
images build of the Zero variant (on x86_64)? The proposed change is to
use the big java settings (over small) for the jdk.compiler's
annotation processing. Thoughts?

We set a number of the build steps to use "small Java" because we ran into memory problems with high concurrency builds. I'm unclear what impact this change has overall. Eril or Magnus should be clearer on that.

Thanks,
David

diff --git a/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk 
b/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
--- a/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
+++ b/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
@@ -103,7 +103,7 @@
  $(GENSRC_DIR)/_gensrc_proc_done: $(PROC_SRCS) $(PROCESSOR_JARS)
         $(call MakeDir, $(@D))
         $(eval $(call ListPathsSafely,PROC_SRCS,$(@D)/_gensrc_proc_files))
-       $(JAVA_SMALL) $(NEW_JAVAC) \
+       $(JAVA) $(NEW_JAVAC) \
             -XDignore.symbol.file \
             --upgrade-module-path $(JDK_OUTPUTDIR)/modules --system none \
             $(ADD_EXPORTS) \

Bug: https://bugs.openjdk.java.net/browse/JDK-8203924

Testing: Zero linux-x86_64 bootcycle-images builds post-patch. Fails before.

Thanks,
Severin

Reply via email to