re PR libgcj/20090 (gij should be implemented in Java)
2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com> * gcj.texi (Invoking gij): Add descriptions of new -X options. Mention recognized-and-ignored compatibility options. (Memory allocation): Add descriptions of JvMalloc, JvRealloc and JvFree. (About CNI): Add Memory allocation section. 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/20090, PR libgcj/20526 * gij.cc (nonstandard_opts_help): New function. (add_option): New function. (main): Support java options. Set java.class.path. Don't set _Jv_Jar_Class_Path. * prims.cc (parse_x_arg): New function. (parse_init_args): Call parse_x_arg for -X and _ options, when ignoreUnrecognized is true. (new _Jv_RunMain): New vm_args variant. (old _Jv_RunMain): Call new vm_args _Jv_RunMain. (_Jv_Jar_Class_Path): Remove variable. * include/java-props.h: Likewise. * include/cni.h (JvRealloc): New function. * include/jvm.h (_Jv_RunMain): Declare vm_args variant. * java/lang/natRuntime.cc (insertSystemProperties): Remove _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION macros. * configure.ac (JV_VERSION): Define. (JV_API_VERSION): Likewise. * configure: Regenerate. * include/config.h.in: Regenerate. From-SVN: r97429
This commit is contained in:
parent
ca6ca8fa9c
commit
b6121641fc
12 changed files with 473 additions and 125 deletions
|
@ -364,6 +364,9 @@
|
|||
/* Define if you want a bytecode interpreter. */
|
||||
#undef INTERPRETER
|
||||
|
||||
/* API compatibility version string */
|
||||
#undef JV_API_VERSION
|
||||
|
||||
/* Define if hash synchronization is in use */
|
||||
#undef JV_HASH_SYNCHRONIZATION
|
||||
|
||||
|
@ -373,6 +376,9 @@
|
|||
/* Indicate that linker is not able to 8-byte align static data */
|
||||
#undef JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS
|
||||
|
||||
/* Compatibility version string */
|
||||
#undef JV_VERSION
|
||||
|
||||
/* Define if we want to use debug calls into the garbage collector. */
|
||||
#undef LIBGCJ_GC_DEBUG
|
||||
|
||||
|
|
|
@ -23,9 +23,6 @@ typedef struct
|
|||
extern const char **_Jv_Compiler_Properties;
|
||||
extern int _Jv_Properties_Count;
|
||||
|
||||
// The JAR file to add to the beginning of java.class.path.
|
||||
extern const char *_Jv_Jar_Class_Path;
|
||||
|
||||
// Properties taken from the user's environment.
|
||||
extern property_pair *_Jv_Environment_Properties;
|
||||
|
||||
|
|
|
@ -360,6 +360,9 @@ extern "C" void JvRunMain (jclass klass, int argc, const char **argv);
|
|||
void _Jv_RunMain (jclass klass, const char *name, int argc, const char **argv,
|
||||
bool is_jar);
|
||||
|
||||
void _Jv_RunMain (struct _Jv_VMInitArgs *vm_args, jclass klass,
|
||||
const char *name, int argc, const char **argv, bool is_jar);
|
||||
|
||||
// Delayed until after _Jv_AllocBytes is declared.
|
||||
//
|
||||
// Note that we allocate this as unscanned memory -- the vtables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue