changeset 41253:7a2422a5b481

8166965: Some small java build tools are still running with big JVM configuration Reviewed-by: ihse
author erikj
date Tue, 04 Oct 2016 13:41:52 +0200
parents 058d83c9b1c7
children 08f8dbf7741e
files langtools/make/gendata/Gendata-jdk.compiler.gmk langtools/make/gensrc/GensrcCommon.gmk
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/langtools/make/gendata/Gendata-jdk.compiler.gmk	Fri Sep 30 13:15:22 2016 -0700
+++ b/langtools/make/gendata/Gendata-jdk.compiler.gmk	Tue Oct 04 13:41:52 2016 +0200
@@ -52,7 +52,7 @@
 	$(RM) -r $(@D)
 	$(MKDIR) -p $(@D)
 	$(ECHO) Creating ct.sym classes
-	$(JAVA) $(INTERIM_LANGTOOLS_ARGS) \
+	$(JAVA_SMALL) $(INTERIM_LANGTOOLS_ARGS) \
 	    $(COMPILECREATESYMBOLS_ADD_EXPORTS) \
 	    -classpath $(BUILDTOOLS_OUTPUTDIR)/create_symbols \
 	    build.tools.symbolgenerator.CreateSymbols \
--- a/langtools/make/gensrc/GensrcCommon.gmk	Fri Sep 30 13:15:22 2016 -0700
+++ b/langtools/make/gensrc/GensrcCommon.gmk	Tue Oct 04 13:41:52 2016 +0200
@@ -32,12 +32,12 @@
 
 ################################################################################
 # The compileprops tools compiles a properties file into a resource bundle.
-TOOL_COMPILEPROPS_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/langtools_tools_classes \
+TOOL_COMPILEPROPS_CMD := $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/langtools_tools_classes \
     compileproperties.CompileProperties -quiet
 
 ################################################################################
 # The compileprops tools compiles a properties file into an enum-like class.
-TOOL_PARSEPROPS_CMD := $(JAVA) -cp $(BUILDTOOLS_OUTPUTDIR)/langtools_tools_classes \
+TOOL_PARSEPROPS_CMD := $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/langtools_tools_classes \
     propertiesparser.PropertiesParser