A method, apparatus, and computer instructions for managing a library in a
data processing system that supports file compression. Functions in the
library that are unrequired on the data processing system are identified
to form a set of identified functions. Existing data for the set of
identified functions in the library is overwritten with new data that is
more compressible than the code, wherein compression of the library by
the data processing system results in a library with a smaller size.