Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Java Optimizer

 
suheel hussain
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written an application complete with Desktop,
split panes, etc. This application runs quite slow. Are there any good Java optimizer out there, preferrably open source?
 
Joe Gilvary
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both JProbe and OptimizeIt are very good. Neither
is open source. Neither is inexpensive.
If you find such an open source project, please
pass it on.
I turned to books. I like
Java Performance Tuning by Jack Shirazi
Java Platform Performance : Strategies and Tactics
by Steve Wilson, et al
and
Java Performance and Scalability by Dov Bulka
Each has a somewhat different focus and approach.
Each benefitted me and my code.
HTH,
Joe
 
Gerd Rosarius
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
less expensive but less effectiv: Run javac with it's optimization parameter
Example:
javac -O myClass.java
Greetings
H.-Gerd
[ February 15, 2002: Message edited by: Gerd Rosarius ]
 
Ravee Bhat
Ranch Hand
Posts: 72
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You may also want to try the arguments like
-Xprof , -Xrunhprof .

regards
ravee.
 
Peter Haggar
author
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Gerd Rosarius:
Hey,
less expensive but less effectiv: Run javac with it's optimization parameter
Example:
javac -O myClass.java
Greetings
H.-Gerd
[ February 15, 2002: Message edited by: Gerd Rosarius ]

-O won't help. It is a no-op on all javac compilers I have used.
Peter Haggar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic