This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: performance problems
- To: tromey@cygnus.com
- Subject: Re: performance problems
- From: Anthony Green <green@cygnus.com>
- Date: Sun, 15 Aug 1999 01:53:32 -0700 (PDT)
- CC: jsturm@sigma6.com, tromey@cygnus.com, hendrich@tech.informatik.uni-hamburg.de, java-discuss@sourceware.cygnus.com
Tom wrote:
> I'm not too thrilled with the idea of an environment variable.
> Shouldn't this be set on a per-application basis?
Yes, this makes perfect sense.
> Two ideas:
>
> 1. Change the default in the Boehm GC on a per-target basis.
> For native builds we could make it larger.
>
> 2. Add a new --heap-size option to gcj and build in the number
> at link time. Change the GC interface (such as it is) in libgcj
> to support setting this at initialization time.
These are both reasonable ideas.
Imagine being able to bind properties to executables. I think this
might be easy to do for many systems. They could all live in a
special section of the executable in order to make it easy to add and
remove them with something like objcopy. It's easy to imagine a
wrapper around objcopy for manipulating properties like initial heap
size, default classpath, default character encodings, and such.
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California