RFR (S) 8234011: (zipfs) Memory leak in ZipFileSystem.releaseDeflater()
Aleksey Shipilev
shade at redhat.com
Thu Apr 1 10:53:48 UTC 2021
Original bug:
https://bugs.openjdk.java.net/browse/JDK-8234011
https://hg.openjdk.java.net/jdk/jdk/rev/fe87a92570db
Patch does not apply to 8u cleanly, because we need to shuffle the files and fix the test to match
JDK 8 APIs. It follows the thing Volker did for 11u:
https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-July/003560.html
...but 8u does not even have Map.of. Plus, I had to fold the follow-up 11u-specific fix:
https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/1ba4c16a8afa
8u webrev:
https://cr.openjdk.java.net/~shade/8234011/webrev.8u.01/
Testing: Linux x86_64, new test fails without patch, passes with it; Windows x86_64, test passes
--
Thanks,
-Aleksey
More information about the jdk8u-dev
mailing list