Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-core-dev] About the performance of jars and compression : some ideas for plugins installed as one jar.

Has anybody tried a java optimizer/obfuscator on Eclipse jars? Of course it would have to be careful not to munge any public APIs but they can potentially reduce jar sizes significantly. Here are some references:
 

 

From: platform-core-dev-admin@xxxxxxxxxxx [mailto:platform-core-dev-admin@xxxxxxxxxxx] On Behalf Of Jeff McAffer
Sent: Saturday, February 26, 2005 10:54 PM
To: platform-core-dev@xxxxxxxxxxx
Subject: RE: [platform-core-dev] About the performance of jars and compression : some ideas for plugins installed as one jar.


We did some experiements with class ordering in the jars.  It is interesting but both costly and quite sensitive.  The classload order depends on, of course, what you are doing.  What you are doing depends on the state of the workspace you open.  This is free to change from run to run.  The lower level plugins are roughly independent of the workspace but they also only account for a small fraction of the classes loaded in a typical session.  

Summary, something could be done here but the net benefit is questionable since it can only be applied to a limited set of plugins effectively.

Jeff


Back to the top