ConfigurableClassLoaderHierarchyHasherTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove ClassLoaderHasher

There is no need to separate this from HashingClassLoaderFactory.

    • -3
    • +3
    ./ConfigurableClassLoaderHierarchyHasherTest.groovy
  1. … 6 more files in changeset.
Remove ClassLoaderHasher

There is no need to separate this from HashingClassLoaderFactory.

    • -3
    • +3
    ./ConfigurableClassLoaderHierarchyHasherTest.groovy
  1. … 6 more files in changeset.
Use MD5 as the default hashing function

    • -1
    • +1
    ./ConfigurableClassLoaderHierarchyHasherTest.groovy
  1. … 38 more files in changeset.
Prevent creatig byte array copies when hashing hash codes

Should reduce garbage creation a little.

    • -1
    • +1
    ./ConfigurableClassLoaderHierarchyHasherTest.groovy
  1. … 8 more files in changeset.
Use our own hashing architecture, take 2 (#2817)

This replaces Guava's hashing. We need this for two reasons:

- it allows the addition of custom hash functions, like BLAKE2b which would not be possible with Guava's closed design

- it fixes a few performance issues that Guava only fixes in version 20 (which we can't upgrade to right now, because we still need to support Java 5 in places)

    • -6
    • +5
    ./ConfigurableClassLoaderHierarchyHasherTest.groovy
  1. … 159 more files in changeset.
Remove lenient hashing for classloaders

+review REVIEW-6373

    • -15
    • +5
    ./ConfigurableClassLoaderHierarchyHasherTest.groovy
  1. … 6 more files in changeset.
Map hashes to classloaders via a map instead

Subclassing or delegating from a `HashedClassLoader` was not leading to complications.

+review REVIEW-6020

    • -34
    • +28
    ./ConfigurableClassLoaderHierarchyHasherTest.groovy
  1. … 13 more files in changeset.
Add tests for class loader hierarchy hashing

Call it a hierarchy hasher, too, because that's what it is.

+review REVIEW-6020

    • -0
    • +108
    ./ConfigurableClassLoaderHierarchyHasherTest.groovy
  1. … 11 more files in changeset.