Reducing footprint of libgcj?
Tom Tromey
tromey@cygnus.com
Tue May 23 23:09:00 GMT 2000
Per> To clarify: I don't know the current status of what you can do to
Per> reduce space with libgcj *as is*. However, there is a lot of
Per> potential here, and we certainly want to make it easier to build
Per> smaller and less feature-ful versions.
We haven't really done any work here :-(
Building statically helps.
You can configure in a smaller (but slower) implementation of
java.lang.Character. You can also (but not via the command-line, yet)
configure the GC to be smaller (this mostly refers to its runtime
footprint, though).
This definitely is something we're interested in. It just hasn't been
a priority (meaning: it hasn't been a priority for our customers).
We'd definitely be interested if someone wanted to work on this.
One thing that would be nice would be to add support for "section GC"
to gcj. This would let you link selectively on a fairly fine-grained
level. (You can already do this with C and C++.)
Tom
More information about the Java
mailing list