JDK-6378768 : using rtpatch flag NOCOMPRESS will reduce each JRE download by 264KB
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0u7
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-01-30
  • Updated: 2013-06-04
  • Resolved: 2006-04-20
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.
Other JDK 6
1.4.2_13Fixed 6Fixed
Related Reports
Relates :  
We are currently using RTpatch software to build the binary difference between a update release (5.0uX) and it's baseline release (5.0).  By default, RTPatch will use it's software to compress the binary diff, and then our installer will use lzx compression to compress further.  However, there is no reason to have 2 separate compressors.

By using the NOCOMPRESS rtpatch flag, we can turn the rtpatch compression off, and only use our lzx compression.  This will reduce the download of all JRE full installs as well as updates by 264KB.  Also, because there is only 1 uncompression, it will make our installers somewhat faster (I haven't done any benchmarks on this yet).

The saving should be relatively bigger for the JDK installer also.

SUGGESTED FIX install/src/windows/patchgen/patch.cmd sccs sccsdiff -r 1.16 -r 1.17 patch.cmd ------- patch.cmd ------- 62a63 > NOCOMPRESS

EVALUATION More info, this NOCOMPRESS flag also reduces our JDK installers by 1.23MB each.

EVALUATION I ran a bunch of performance benchmarks today and it looks like this will slow our 5.0u7 JRE installation process down by an average of 5 seconds. Here are my 5 tests on my 933MHZ/512MB Dell machine: Before-fix: 46s, 46s, 45s, 46s, 45s After fix: 50s, 50s, 51s, 51s, 51s I guess installshield's lzx is better compression vs rtpatch's compression, but it's slower to uncompress. So we need to determine whether reducing the JRE 264KB is worth adding ~5 seconds to the install time. Keep in mind that I have a slow 933MHZ machine.