jQuery in Action, 2nd edition*
The moose likes Performance and the fly likes reduce cpu usage in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Performance
Reply locked New topic

reduce cpu usage in thread

Aayush Singhal
Ranch Hand

Joined: Jan 06, 2011
Posts: 47
i am using a thread to update a moving ticker on the screen like the bootom of a news channel.
it's something like this :

The trouble is that it is having high CPU usage about 25% due to which my other applications are having trouble.

What should i do to reduce the CPU usage?

Edit : please close it. it is being discussed in the Swings sub-forum. Thanks
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

Please do not cross post


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: reduce cpu usage in thread