[crac] RFR: Clear JarFileFactory cache on checkpoint [v2]

Anton Kozlov akozlov at openjdk.java.net
Tue Feb 8 13:37:08 UTC 2022


> 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.

Anton Kozlov has updated the pull request incrementally with one additional commit since the last revision:

  Avoid beforeCheckpoint race with JarURLConnection.connect()

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

Changes:
  - all: https://git.openjdk.java.net/crac/pull/14/files
  - new: https://git.openjdk.java.net/crac/pull/14/files/ab5ac701..3960e454

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=crac&pr=14&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=crac&pr=14&range=00-01

  Stats: 16 lines in 1 file changed: 13 ins; 1 del; 2 mod
  Patch: https://git.openjdk.java.net/crac/pull/14.diff
  Fetch: git fetch https://git.openjdk.java.net/crac pull/14/head:pull/14

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


More information about the crac-dev mailing list