Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Profile Application causes Eclipse to use 50% CPU refreshing workspace
Profile Application causes Eclipse to use 50% CPU refreshing workspace [message #52358] Wed, 01 February 2006 14:59
Michael Giroux is currently offline Michael Giroux
Messages: 287
Registered: July 2009
Senior Member
I have a small Java application that creates a
javax.xml.transform.Transformer and transforms an xml file. The
application normally runs in less than a second.

I right click on the class in the project and select Profile As Java
Application. The profiling appears to work as expected with lots of
good information collected.

I'm not sure what to expect when the app is complete. Here is what I
see. I will appreciate if anyone can tell me if this is normal, or if
maybe I'm doing something wrong:

1. The main() method seems to be complete, but the profile perspective
has pause and stop buttons active. The various profile reports show
various non-zero counters for active objects. It appears that profiling
prevents the application from actually terminating so that stats can be
collected. How can I tell if the app is actually complete, or if
something is wrong? As far as I can tell, the app could be in a loop.

2. If I press the stop button to terminate profiling, the main eclipse
window continues to use 50% of the CPU. The progress window shows
"Refreshing workspace". The information field shows "Resources to
refresh: 19" and never changes. If I click the red box at end of
progress bar, the "resources to refresh" counter goes down. If I click
it enough times to reduce the count to zero, eclipse finally returns to
normal (near zero) cpu usage.

Any comments on this observation will be appreciated.
Previous Topic:http recording/ how to run the test correctly
Next Topic:How to export testsuites/testcases created by AGR
Goto Forum:
  


Current Time: Thu Oct 23 11:46:50 GMT 2014

Powered by FUDForum. Page generated in 0.02687 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software