[crac] Integrated: Clear JarFileFactory cache on checkpoint

Anton Kozlov akozlov at openjdk.java.net
Thu Feb 10 15:07:48 UTC 2022


On Tue, 1 Feb 2022 14:36:05 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> Even after an URL object referring to a jar file is closed, the JarFile remains cached and open. This change cleans the cache, so the JarFile becomes reclaimable. The only user of the changed class, sun.net.www.protocol.jar.JarURLConnection, does not assume any state of the cache.

This pull request has now been integrated.

Changeset: e3f6d11c
Author:    Anton Kozlov <akozlov at openjdk.org>
URL:       https://git.openjdk.java.net/crac/commit/e3f6d11cc913456997685a6b005dbf7540e2d8e0
Stats:     96 lines in 3 files changed: 95 ins; 0 del; 1 mod

Clear JarFileFactory cache on checkpoint

Reviewed-by: abakhtin

-------------

PR: https://git.openjdk.java.net/crac/pull/14


More information about the crac-dev mailing list