73 JAVA_JVM_FLAGS = $(JAVA_HOTSPOT_DISABLE_PRINT_VMOPTIONS)
74 endif
75
76 ifeq ($(ADD_CLIENT_VM_OPTION), true)
77 JAVA_JVM_FLAGS += -client
78 endif
79 ifdef USE_HOTSPOT_INTERPRETER_MODE
80 JAVA_JVM_FLAGS += -Xint
81 endif
82
83 # Various VM flags
84 JAVA_TOOLS_FLAGS = $(JAVA_JVM_FLAGS) $(JAVA_MEM_FLAGS)
85
86 # The VM flags for javac
87 JAVAC_JVM_FLAGS =
88
89 # 64-bit builds require a larger thread stack size.
90 ifeq ($(ARCH_DATA_MODEL), 32)
91 JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=768
92 else
93 JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=1536
94 endif
95 JAVAC_JVM_FLAGS += $(JAVA_TOOLS_FLAGS:%=-J%)
96
97 # The jar -J options are special, must be added at the end of the command line
98 JAR_JFLAGS = $(JAVA_TOOLS_FLAGS:%=-J%)
99
100 # JAVA_TOOLS_DIR is the default location to find Java tools to run, if
101 # langtools is not available.
102 # This should be the latest promoted JDK javac.
103 ifndef JAVA_TOOLS_DIR
104 JAVA_TOOLS_DIR = $(JDK_IMPORT_PATH)/bin
105 endif
106
107 #
108 # Invoking the Java compiler. In leaf makefiles, choose as follows:
109 # -- Use JAVAC if you want to take full control of what options get
110 # passed to javac.
111 # -- Use JAVAC_CMD if you want to take the defaults given to you.
112 #
113
|
73 JAVA_JVM_FLAGS = $(JAVA_HOTSPOT_DISABLE_PRINT_VMOPTIONS)
74 endif
75
76 ifeq ($(ADD_CLIENT_VM_OPTION), true)
77 JAVA_JVM_FLAGS += -client
78 endif
79 ifdef USE_HOTSPOT_INTERPRETER_MODE
80 JAVA_JVM_FLAGS += -Xint
81 endif
82
83 # Various VM flags
84 JAVA_TOOLS_FLAGS = $(JAVA_JVM_FLAGS) $(JAVA_MEM_FLAGS)
85
86 # The VM flags for javac
87 JAVAC_JVM_FLAGS =
88
89 # 64-bit builds require a larger thread stack size.
90 ifeq ($(ARCH_DATA_MODEL), 32)
91 JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=768
92 else
93 JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=2096
94 endif
95 JAVAC_JVM_FLAGS += $(JAVA_TOOLS_FLAGS:%=-J%)
96
97 # The jar -J options are special, must be added at the end of the command line
98 JAR_JFLAGS = $(JAVA_TOOLS_FLAGS:%=-J%)
99
100 # JAVA_TOOLS_DIR is the default location to find Java tools to run, if
101 # langtools is not available.
102 # This should be the latest promoted JDK javac.
103 ifndef JAVA_TOOLS_DIR
104 JAVA_TOOLS_DIR = $(JDK_IMPORT_PATH)/bin
105 endif
106
107 #
108 # Invoking the Java compiler. In leaf makefiles, choose as follows:
109 # -- Use JAVAC if you want to take full control of what options get
110 # passed to javac.
111 # -- Use JAVAC_CMD if you want to take the defaults given to you.
112 #
113
|