stripping libgcj.so.4
Andrew Haley
aph@redhat.com
Sun Sep 21 11:15:00 GMT 2003
Erik Poupaert writes:
> > Why do you think stripping the excutable will have any effect on
> > startup times and memory footprint? It shouldn't.
>
> I was looking at stripping libgcj.so itself, not really at
> stripping the executable.
>
> Depending on how exactly the loading process goes, and to what
> extent it is cached (I'm not familiar with the precise details of
> this process), loading 8 MB instead of 40 MB of libgcj.so could
> conceivably be beneficial to startup time and memory footprint? Or
> is there a reason why it hardly matters?
It won't make any difference. The LOAD sections of the file will be
mapped onto virtual memory and the pages swapped into real RAM as
required. Debug sections are only read when a debugger (or printing a
stack trace) opens the file.
Andrew.
More information about the Java
mailing list