Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6461252

java uninstaller performance needs improvement

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 6
    • install
    • None
    • generic
    • generic, windows

        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.

              billyh William Harnois
              billyh William Harnois
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: