Skip to main content
  • Log in
  • Manage Cookies
EclipseCon - Eclipse Foundation
  • Conference
    • Program Schedule
    • Program List
    • Registration
  • Features
    • Community Day
    • Hacker Day
    • Dinner Meetups
    • OSGi Summit
    • Keynotes
  • Community
    • Code of Conduct
    • Health & Safety at EclipseCon
    • Community Resources
    • 2022 Speakers
    • Information for Speakers
  • Sponsors
    • Be a Sponsor
    • Information for Exhibitors
    • Our Sponsors
    • Sponsor Testimonials
  • Venue
    • Conference Venue
    • Hotels
    • Ludwigsburg
  • About Us
    • EclipseCon 2022
    • Program Committee
    • The Eclipse Foundation
    • Past Conferences
    • Other Events
  1. Home
  2. EclipseCon
  3. EclipseCon 2022
  4. Sessions
  5. A fairy tale of zlib/zip compression in OpenJDK

A fairy tale of zlib/zip compression in OpenJDK

Session details
Status: 
Accepted
Speaker(s): 
Volker H. Simonis (Amazon)
Experience level: 
Beginner
Session Track: 
Java
Session Type: 
Standard

This talk is for all Java users at any level. Attendees will get a better understanding of how third party libraries like zlib are bundled, used and maintained in the OpenJDK. They'll learn the difference of static vs. dynamic linking of libraries and how they can leverage alternative zlib implementations to boost de-/compression performance on platforms where OpenJDK dynamically links zlib.

I'll also describe subtle behavioral differences in various zlib implementations and versions and how they have been fixed or worked around in the JDK. Finally, I'll cover recent enhancements in the ZipFile support.

The general outline of the talk will be as follows:

- zlib compression details (i.e. Huffman coding and LZ77 compression)
- the history of zlib in the JDK
- zip file support and enhancements in the OpenJDK
- the zipfs file system support in OpenJDK
- checksums and intrinsics (i.e. CRC32, CRC32C and Adler32)
- the challenges of maintaining a third party library in OpenJDK
- alternative zlib implementations and their performance benefits
- boosting your deflate/inflate performance by using alternative zlib implementations
- issues and challenges with alternative zlib implementations (e.g. [1, 2, 3])
- zlib vulnerabilities (CVE-2018-25032 [4])

The talk is partially based on the content of my blog https://github.com/simonis/zlib-bench/blob/master/AcceleratingZlibInOpen... but extended with some more implementation details and examples. This will be a new talk which has never been given before.

[1] https://bugs.openjdk.org/browse/JDK-8240333
[2] https://bugs.openjdk.org/browse/JDK-8253952
[3] https://bugs.openjdk.org/browse/JDK-8283758
[4] https://nvd.nist.gov/vuln/detail/CVE-2018-25032

Slides (External URL): 
https://simonis.github.io/EclipseCon2022
https://www.youtube.com/watch
Objective of the presentation: 
This talk is for all Java users at any level. Attendees will get a better understanding of how third party libraries like zlib are bundled, used and maintained in the OpenJDK. They'll learn the difference of static vs. dynamic linking of libraries and how they can leverage alternative zlib implementations to boost de-/compression performance on platforms where OpenJDK dynamically links zlib. I'll also describe subtle behavioral differences in various zlib implementations and versions and how they have been fixed or worked around in the JDK. Finally, I'll cover recent enhancements in the ZipFile support.
Attendee pre-requisites - If none, enter "N/A": 
N/A
Schedule info
Time: 
25 Oct 2022 - 12:30 to 25 Oct 2022 - 13:05
Room: 
Theater Stage
  • Sign in to post comments.

Elite

  • IBM
  • Huawei

Premium

  • Eurotech
  • Red Hat
  • Yatta Solutions GmbH

Basic

  • Mercedes-Benz Tech Innovation
  • ARCAD Software
  • Bosch IO GmbH
  • SCANOSS
  • EclipseSource
  • Obeo
  • SSI Schaefer IT Solutions GmbH
  • TypeFox GmbH

Media

  • GermanTechJobs

Become a Sponsor

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace
EclipseCon is brought to you by The Eclipse Foundation with the support of our sponsors.
Powered by Drupal and built on COD.

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top