Native zlib libraries

Azeem Jiva azeem.jiva at oracle.com
Wed Jul 11 13:20:22 PDT 2012



> I think we need to (re)start the discussion on core-libs-dev with a 
> view to eliminating the patches that the JDK has to zlib, see:
>
> http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/tip/src/share/native/java/util/zip/zlib-1.2.5/patches/ChangeLog_java 
>
>
> One of these changes relates to the zip64 support and I believe there 
> are corner cases when inflating or deflating >2GB that won't work if 
> using the system zlib. Sherman will likely recall the details. Given 
> that the new build already supports using the system zlib (at least on 
> Linux) then it would be good to sort this out so that it just works.
>
> -Alan

The reason I brought up this issue, is that we'd like the ability to 
swap out the zlib library with ones that have specialized acceleration 
capabilities.  If the ability to swap zlib libraries can be made dynamic 
that would make it easier, although I'm not sure how integrated the 
libraries are.



More information about the hotspot-runtime-dev mailing list