Meaningless Drivel is fun!
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
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
I agree. Here's the link:
subject: reduce cpu usage in thread
It's not a secret anymore!