| Summary: | Re-launching a JUnit Plug-in Test Suite is slow to clear the workspace location | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Jevon <jevon> | ||||
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert | ||||
| Version: | 3.5.2 | Keywords: | needinfo | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Jevon
I tested deleting the folder manually using `rmdir /s`. For 39540 files across 11843 directories, it took approximately 110 seconds; about 25% of the time needed for Eclipse to remove the contents. Is this a reasonable increase in cost for Java/Eclipse? >If I try to relaunch the suite again, Eclipse appears to freeze for a few >minutes. Please provide a stack dump, see http://wiki.eclipse.org/index.php/How_to_report_a_deadlock#Getting_a_stack_trace_on_Windows for details. Created attachment 167644 [details]
tracedump from JVisualVM
Attached is the thread dump from JVisualVM, it looks like it is busy deleting directories recursively. I didn't realise there is no way in Java to delete a non-empty folder directly.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release. |