hotspot/src/os/solaris/launcher/java.h

Print this page
rev 611 : Merge
   1 /*
   2  * Copyright 1998-2005 Sun Microsystems, Inc.  All Rights Reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20  * CA 95054 USA or visit www.sun.com if you need additional information or
  21  * have any questions.
  22  *  


  84  * Report an exception which terminates the vm to stderr or a window
  85  * as appropriate.
  86  */
  87 void ReportExceptionDescription(JNIEnv * env);
  88 
  89 jboolean RemovableMachineDependentOption(char * option);
  90 void PrintMachineDependentOptions();
  91 
  92 /* 
  93  * Functions defined in java.c and used in java_md.c.
  94  */
  95 jint ReadKnownVMs(const char *jrepath, char * arch, jboolean speculative); 
  96 char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
  97 void* MemAlloc(size_t size);
  98 
  99 /*
 100  * Make launcher spit debug output.
 101  */
 102 extern jboolean _launcher_debug;
 103 











 104 #endif /* _JAVA_H_ */
   1 /*
   2  * Copyright 1998-2008 Sun Microsystems, Inc.  All Rights Reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20  * CA 95054 USA or visit www.sun.com if you need additional information or
  21  * have any questions.
  22  *  


  84  * Report an exception which terminates the vm to stderr or a window
  85  * as appropriate.
  86  */
  87 void ReportExceptionDescription(JNIEnv * env);
  88 
  89 jboolean RemovableMachineDependentOption(char * option);
  90 void PrintMachineDependentOptions();
  91 
  92 /* 
  93  * Functions defined in java.c and used in java_md.c.
  94  */
  95 jint ReadKnownVMs(const char *jrepath, char * arch, jboolean speculative); 
  96 char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
  97 void* MemAlloc(size_t size);
  98 
  99 /*
 100  * Make launcher spit debug output.
 101  */
 102 extern jboolean _launcher_debug;
 103 
 104 /*
 105  * This allows for finding classes from the VM's bootstrap class loader
 106  * directly, FindClass uses the application class loader internally, this will
 107  * cause unnecessary searching of the classpath for the required classes.
 108  */
 109 typedef jclass (JNICALL FindClassFromBootLoader_t(JNIEnv *env,
 110                                                 const char *name,
 111                                                 jboolean throwError));
 112 
 113 jclass FindBootStrapClass(JNIEnv *env, const char *classname);
 114 
 115 #endif /* _JAVA_H_ */