JDK-2130892 : GZipOutputStream/InputStream goes critical(calls JNI_Get*Critical) and causes slowness
  • Type: Backport
  • Backport of: JDK-6206933
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2005-10-18
  • Updated: 2011-02-21
  • Resolved: 2005-12-17
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_10Fixed 6 b65Fixed
Comments
EVALUATION that the *Critical functions should only be used when the data is used for a very short time, and the operations being performed in the critical regions are too slow (compressing/decompressing/checksumming) and cause slowdowns in multi-threaded programs. I suspect the submitter is correct, and most of the calls to JNI_*Critical should be replaced with the non-Critical versions of same.
18-10-2005