144 void JLI_ReportExceptionDescription(JNIEnv * env);
145 void PrintMachineDependentOptions();
146
147 /*
148 * Block current thread and continue execution in new thread
149 */
150 int ContinueInNewThread0(int (JNICALL *continuation)(void *),
151 jlong stack_size, void * args);
152
153 /* sun.java.launcher.* platform properties. */
154 void SetJavaLauncherPlatformProps(void);
155 void SetJavaCommandLineProp(char* what, int argc, char** argv);
156 void SetJavaLauncherProp(void);
157
158 /*
159 * Functions defined in java.c and used in java_md.c.
160 */
161 jint ReadKnownVMs(const char *jvmcfg, jboolean speculative);
162 char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
163 void AddOption(char *str, void *info);
164
165 enum ergo_policy {
166 DEFAULT_POLICY = 0,
167 NEVER_SERVER_CLASS,
168 ALWAYS_SERVER_CLASS
169 };
170
171 const char* GetProgramName();
172 const char* GetFullVersion();
173 jboolean IsJavaArgs();
174 jboolean IsJavaw();
175 jint GetErgoPolicy();
176
177 jboolean ServerClassMachine();
178
179 int ContinueInNewThread(InvocationFunctions* ifn, jlong threadStackSize,
180 int argc, char** argv,
181 int mode, char *what, int ret);
182
183 int JVMInit(InvocationFunctions* ifn, jlong threadStackSize,
|
144 void JLI_ReportExceptionDescription(JNIEnv * env);
145 void PrintMachineDependentOptions();
146
147 /*
148 * Block current thread and continue execution in new thread
149 */
150 int ContinueInNewThread0(int (JNICALL *continuation)(void *),
151 jlong stack_size, void * args);
152
153 /* sun.java.launcher.* platform properties. */
154 void SetJavaLauncherPlatformProps(void);
155 void SetJavaCommandLineProp(char* what, int argc, char** argv);
156 void SetJavaLauncherProp(void);
157
158 /*
159 * Functions defined in java.c and used in java_md.c.
160 */
161 jint ReadKnownVMs(const char *jvmcfg, jboolean speculative);
162 char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
163 void AddOption(char *str, void *info);
164 jboolean IsWhiteSpaceOption(const char* name);
165
166 enum ergo_policy {
167 DEFAULT_POLICY = 0,
168 NEVER_SERVER_CLASS,
169 ALWAYS_SERVER_CLASS
170 };
171
172 const char* GetProgramName();
173 const char* GetFullVersion();
174 jboolean IsJavaArgs();
175 jboolean IsJavaw();
176 jint GetErgoPolicy();
177
178 jboolean ServerClassMachine();
179
180 int ContinueInNewThread(InvocationFunctions* ifn, jlong threadStackSize,
181 int argc, char** argv,
182 int mode, char *what, int ret);
183
184 int JVMInit(InvocationFunctions* ifn, jlong threadStackSize,
|