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

Very slow performance from GZIPInputStream in JDK 1.5.0_07-b03

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 5.0u7
    • core-libs

      FULL PRODUCT VERSION :
      java version "1.5.0_07"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
      Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
        Verified with Fedora Core 3 and CentOS 4.3 on Xeon and Opteron:

      Linux fedoraxeon 2.6.12-1.1378_FC3smp #1 SMP Wed Sep 14 04:52:36 EDT 2005 i686 i686 i386 GNU/Linux

      Linux centosxeon 2.6.9-34.0.1.ELsmp #1 SMP Wed May 24 08:14:29 CDT 2006 i686 i686 i386 GNU/Linux

      Linux centosopteron 2.6.9-34.0.1.ELsmp #1 SMP Wed May 24 05:28:30 CDT 2006 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      Using GZIPInputStream to decompress a 60 MB file takes 5 or 6 times longer with JDK 1.5.0_07-b03 than with 1.5.0_06-b05 on the same machine.

      This looks like Bug ID 6348045 which had introduced slowness in 1.5.0_06 builds 03 and 04.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Write a simple java program to decompress a file (previously written with GZIPOutputStream) and compare its performance on the current 1.5.0_07-b03 JDK versus 1.5.0_06-b05.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 5.0u6
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            bristor Dave Bristor (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: