Any expected improvements in startup times?
Adam Megacz
megacz@gcc.gnu.org
Mon Feb 23 00:58:00 GMT 2004
Erik Poupaert <erik.poupaert@skynet.be> writes:
> But then again, statically linked, the application runs much faster
> than dynamically linked. Why?
Dynamic linking on most platforms (Darwin/Mach being a notable
exception) requires writing 'fixups' into the program's memory image
once loaded, since the address of library routines is not known at
link time.
Mach/Darwin does these fixups at "install time" (when the binary is
written to the disk on the target machine), and has a fallback
mechanism if the fixups become out of date.
For Mac users, that's what the annoying "optimizing volume FOO"
message at the end of the installer is.
- a
More information about the Java
mailing list