This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Performance and the fly likes Class size optimization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Performance
Bookmark "Class size optimization" Watch "Class size optimization" New topic
Author

Class size optimization

Rob Gratz
Greenhorn

Joined: Oct 16, 2000
Posts: 1
What javac options will reduce the size of the resulting class file. I know -g:none will remove any debug information, but are there any others, specifically for JDK1.3?
Jack Shirazi
Author
Ranch Hand

Joined: Oct 26, 2000
Posts: 96
That's the only option. You are better off looking for products that shrink class files, like DashO (check the resources page at my site).
This subject has also been discussed in the 'optimize download class file' thread.
 
 
subject: Class size optimization
 
It's not a secret anymore!