performance problems
Anthony Green
green@cygnus.com
Sun Aug 15 01:56:00 GMT 1999
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
More information about the Java
mailing list