8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
--- 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