public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/20526] New: gij -X reports no options are recognized, while -Xmx and -Xms seem to be
@ 2005-03-18 13:59 vektor at dumbterm dot net
  2005-03-23 21:26 ` [Bug java/20526] " tromey at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vektor at dumbterm dot net @ 2005-03-18 13:59 UTC (permalink / raw)
  To: java-prs

gij (GNU libgcj) version 4.0.0 20050314 (Red Hat 4.0.0-0.34)

When I run 'gij --help' it lists that -X will tell me supported -X options.  It
also lists the --ms= and --mx= parameters.

gij -X says:
gij: currently no -X options are recognized

I have seen others on IRC use -Xmx512M and -Xms96M or what not.  This leads me
to believe that these -X options are actually supported.  It would be very help
(if this were the case) for the tool to list these in the command line help.

-- 
           Summary: gij -X reports no options are recognized, while -Xmx and
                    -Xms seem to be
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vektor at dumbterm dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20526


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/20526] gij -X reports no options are recognized, while -Xmx and -Xms seem to be
  2005-03-18 13:59 [Bug java/20526] New: gij -X reports no options are recognized, while -Xmx and -Xms seem to be vektor at dumbterm dot net
@ 2005-03-23 21:26 ` tromey at gcc dot gnu dot org
  2005-04-02  2:28 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-03-23 21:26 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2005-03-23 20:51 -------
FWIW, we do support "-ms" and "-mx", but not "-Xms" and "-Xmx".
Those are just ignored.
However, we ought to recognize those.  I'm leaving the PR open for now,
for that reason.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20526


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/20526] gij -X reports no options are recognized, while -Xmx and -Xms seem to be
  2005-03-18 13:59 [Bug java/20526] New: gij -X reports no options are recognized, while -Xmx and -Xms seem to be vektor at dumbterm dot net
  2005-03-23 21:26 ` [Bug java/20526] " tromey at gcc dot gnu dot org
@ 2005-04-02  2:28 ` cvs-commit at gcc dot gnu dot org
  2005-04-02  2:31 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-02  2:28 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-02 02:27 -------
Subject: Bug 20526

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	fitzsim@gcc.gnu.org	2005-04-02 02:26:52

Modified files:
	gcc/java       : ChangeLog gcj.texi 
	libjava        : ChangeLog configure configure.ac gij.cc 
	                 prims.cc 
	libjava/gcj    : cni.h 
	libjava/include: config.h.in java-props.h jvm.h 
	libjava/java/lang: natRuntime.cc 

Log message:
	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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1584&r2=1.1585
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gcj.texi.diff?cvsroot=gcc&r1=1.77&r2=1.78
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3449&r2=1.3450
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&r1=1.258&r2=1.259
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcc&r1=1.24&r2=1.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gij.cc.diff?cvsroot=gcc&r1=1.25&r2=1.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/prims.cc.diff?cvsroot=gcc&r1=1.107&r2=1.108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/cni.h.diff?cvsroot=gcc&r1=1.15&r2=1.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/config.h.in.diff?cvsroot=gcc&r1=1.59&r2=1.60
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/java-props.h.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/jvm.h.diff?cvsroot=gcc&r1=1.81&r2=1.82
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natRuntime.cc.diff?cvsroot=gcc&r1=1.52&r2=1.53



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20526


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/20526] gij -X reports no options are recognized, while -Xmx and -Xms seem to be
  2005-03-18 13:59 [Bug java/20526] New: gij -X reports no options are recognized, while -Xmx and -Xms seem to be vektor at dumbterm dot net
  2005-03-23 21:26 ` [Bug java/20526] " tromey at gcc dot gnu dot org
  2005-04-02  2:28 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-02  2:31 ` cvs-commit at gcc dot gnu dot org
  2005-04-02 16:37 ` fitzsim at redhat dot com
  2005-04-02 16:39 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-02  2:31 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-02 02:30 -------
Subject: Bug 20526

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	fitzsim@gcc.gnu.org	2005-04-02 02:30:41

Modified files:
	gcc/java       : ChangeLog gcj.texi 
	libjava        : ChangeLog configure configure.ac gij.cc 
	                 prims.cc 
	libjava/gcj    : cni.h 
	libjava/include: config.h.in java-props.h jvm.h 
	libjava/java/lang: natRuntime.cc 

Log message:
	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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1556.2.9&r2=1.1556.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gcj.texi.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.73.2.3&r2=1.73.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3391.2.34&r2=1.3391.2.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.253&r2=1.253.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.19&r2=1.19.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gij.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.25&r2=1.25.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/prims.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.104&r2=1.104.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/cni.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.15&r2=1.15.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/config.h.in.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.59&r2=1.59.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/java-props.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.8&r2=1.8.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/jvm.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.77.2.2&r2=1.77.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natRuntime.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.47.2.2&r2=1.47.2.3



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20526


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/20526] gij -X reports no options are recognized, while -Xmx and -Xms seem to be
  2005-03-18 13:59 [Bug java/20526] New: gij -X reports no options are recognized, while -Xmx and -Xms seem to be vektor at dumbterm dot net
                   ` (2 preceding siblings ...)
  2005-04-02  2:31 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-02 16:37 ` fitzsim at redhat dot com
  2005-04-02 16:39 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2005-04-02 16:37 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From fitzsim at redhat dot com  2005-04-02 16:37 -------
Fixed on HEAD and gcc-4_0-branch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20526


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug java/20526] gij -X reports no options are recognized, while -Xmx and -Xms seem to be
  2005-03-18 13:59 [Bug java/20526] New: gij -X reports no options are recognized, while -Xmx and -Xms seem to be vektor at dumbterm dot net
                   ` (3 preceding siblings ...)
  2005-04-02 16:37 ` fitzsim at redhat dot com
@ 2005-04-02 16:39 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-02 16:39 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20526


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-02 16:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18 13:59 [Bug java/20526] New: gij -X reports no options are recognized, while -Xmx and -Xms seem to be vektor at dumbterm dot net
2005-03-23 21:26 ` [Bug java/20526] " tromey at gcc dot gnu dot org
2005-04-02  2:28 ` cvs-commit at gcc dot gnu dot org
2005-04-02  2:31 ` cvs-commit at gcc dot gnu dot org
2005-04-02 16:37 ` fitzsim at redhat dot com
2005-04-02 16:39 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).