diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2005-04-02 02:26:51 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@gcc.gnu.org> | 2005-04-02 02:26:51 +0000 |
commit | b6121641fcd1aad93643d1f56440217ee9dc1c1c (patch) | |
tree | de273602667841b3a2037c6f72fd0b12649073a4 /libjava/gcj | |
parent | ca6ca8fa9cfa91366a8f5e8cb74b7791777c4eb8 (diff) | |
download | gcc-b6121641fcd1aad93643d1f56440217ee9dc1c1c.zip gcc-b6121641fcd1aad93643d1f56440217ee9dc1c1c.tar.gz gcc-b6121641fcd1aad93643d1f56440217ee9dc1c1c.tar.bz2 |
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
Diffstat (limited to 'libjava/gcj')
-rw-r--r-- | libjava/gcj/cni.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/gcj/cni.h b/libjava/gcj/cni.h index 4aea4b6..b94260b 100644 --- a/libjava/gcj/cni.h +++ b/libjava/gcj/cni.h @@ -108,6 +108,12 @@ JvMalloc (jsize size) return _Jv_Malloc (size); } +extern inline void * +JvRealloc (void *ptr, jsize size) +{ + return _Jv_Realloc (ptr, size); +} + extern inline void JvFree (void *ptr) { |