JDK-6461252 : java uninstaller performance needs improvement
  • Type: Enhancement
  • Component: install
  • Sub-Component: install
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,windows
  • CPU: generic
  • Submitted: 2006-08-17
  • Updated: 2011-04-04
  • Resolved: 2011-04-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 8
6Resolved 8Resolved
Related Reports
Duplicate :  
Duplicate :  
Description
The uninstaller takes way too long.  This is because we utilize the RemoveFile.idt table, which has very bad performance when the files actually exist.  We should continue using the RemoveFile table, because it shows a great FilesInUse dialog when there are locked files.  But we should first make an attempt to delete all the files ourselves with RegUtils.dll.  We can use the RemoveDirectoryRecursively function that we used in a previous release.  We should make sure we ignore any files that are locked, and just let the RemoveFile table handle those properly.  

I did a test for this, and it reduced the JRE uninstallation time from 36 seconds to 6 seconds.

Comments
EVALUATION The description sums up the solution.
17-08-2006