Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java application 100%CPU with JDK 1.4.2  RSS feed

 
Bob Liu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a swing based Java application runs well under JDK 1.3. When we upgrade to JDK 1.4.2 recently, it can be compiled. When we run the application most parts worked well. But it took 100% CPU time when we tried open some screens. When I click the dropdowns in these screens, it did not disply properly.

Any thoughts? Experience?
 
Aaron Roberts
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried to profile your code? Any ideas where it might be sucking up some CPU time?

Are you using multiple threads at all?

Regards,
Aaron R>
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!