Understanding Zlib and Zip Compression in OpenJDK - From Implementation to Performance
Eclipse Foundation via YouTube
Overview
Explore the intricacies of zlib/zip compression in OpenJDK through this 48-minute conference talk from EclipseCon 2022. Gain comprehensive insights into how third-party libraries like zlib are integrated, utilized, and maintained within OpenJDK, while understanding the crucial distinctions between static and dynamic library linking. Learn to leverage alternative zlib implementations for enhanced compression performance, particularly on platforms where OpenJDK employs dynamic linking. Delve into various zlib implementation nuances, their behavioral differences across versions, and discover how these challenges have been addressed in the JDK. The presentation covers essential topics including Huffman coding, LZ77 compression, zip file system support, checksum mechanisms like CRC32 and Adler32, and security considerations including vulnerability management. Through practical examples and implementation details, master the techniques to optimize deflate/inflate performance using alternative zlib implementations while understanding potential challenges and their solutions.
Syllabus
Intro
About me
What is deflate
zlib
gzip
zip
history
zip API
jar file
change lock
zlib integration
zip file support
dictionarybased compression
Huffman compression
Dflat
Dynamic vs Static linking
Issues
Fix
Conclusion
Taught by
Eclipse Foundation