This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: cool hack
- To: Jeff Sturm <jsturm at sigma6 dot com>
- Subject: Re: cool hack
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Fri, 11 Feb 2000 21:39:49 -0800 (PST)
- Cc: tromey at cygnus dot com, Java Discuss List <java-discuss at sourceware dot cygnus dot com>
- References: <87hfffjo6c.fsf@cygnus.com><38A4EC3C.DE5ECA8F@sigma6.com>
>> creche. gcj -shared -c -o HelloWorld.so HelloWorld.java
Jeff> (I thought the -c and -shared arguments were mutually exclusive?)
All I know is that it worked for me.
Jeff> Running gij is still the only way I know of to specify heap
Jeff> parameters to a compiled Java executable, since jvgenmain
Jeff> doesn't know about -ms and -mx. You can also set properties at
Jeff> runtime with gij.
Good point. I think any options like this should be supported by gcj
(it should pass them to jvgenmain), gij, and the JNI invocation API.
(Changing gij to use the invocation API might make sense -- it might
reduce the maintenance burden.)
Anyway, could you submit a PR for this specific case (-mx and -ms)?
That way we can at least track the problem. I don't know when we'll
be able to fix it.
Tom