• Phillip Webb's avatar
    Reduce GC pressure in JAR handler · 11b1318c
    Phillip Webb authored
    Update the JAR `Hander` so that URL `startsWith` checks produce less
    garbage. Comparisons are now performed first on the `path` rather than
    the full `toString`. URL `toString` operations produce quite a lot of
    garbage since a `StringBuilder` is always used.
    
    In addition, we now also cache the JarFile URL toString to save repeated
    calculation.
    
    Closes gh-14561
    11b1318c
Name
Last commit
Last update
..
src Loading commit data...
pom.xml Loading commit data...