JDK-6612776 : java kernel bundle install performance regression on vista
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u5
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2007-10-03
  • Updated: 2010-09-08
  • Resolved: 2008-01-31
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
6u10 b07Fixed
Description
Discovered a performance problem on Vista in 6u5 b05 PIT build.

Problem is because now we removed lib/zi core from the kernel core:
6601650: Remove lib/zi from Kernel core

So lib/zi needs to be downloaded on demand as a bundle.

Problem is this bundle contains over 400 individual files.  So when this bundle gets installed in Vista, current implementation is to unzip the unbundle into the locallow tmp location first, and then move each individual files into the correct location.  This becomes very slow, because it involves over 400+ IPC message exchange between the broker and the java process, in order for this bundle to be installed.

And there is no UI shown during the file move, so the user really don't know what's going on.   After these 400+ files get installed, everything will continue as normal.

We should probably change the broker process to move the whole subdirectory at once, instead of moving each individual files separately.

Comments
EVALUATION fix in b06
03-10-2007