diff --git a/pom.xml b/pom.xml index 9072edf9a..1967bac2b 100755 --- a/pom.xml +++ b/pom.xml @@ -177,7 +177,7 @@ net.openhft zero-allocation-hashing - 0.4 + 0.8 test diff --git a/src/test/java/net/openhft/chronicle/map/KeySegmentDistributionTest.java b/src/test/java/net/openhft/chronicle/map/KeySegmentDistributionTest.java index d0f7f2f5e..e31c687b9 100644 --- a/src/test/java/net/openhft/chronicle/map/KeySegmentDistributionTest.java +++ b/src/test/java/net/openhft/chronicle/map/KeySegmentDistributionTest.java @@ -56,7 +56,7 @@ public class KeySegmentDistributionTest { for (int i = 0; i < size; i++) { random.nextBytes(keyBytes); String key = new String(keyBytes, StandardCharsets.US_ASCII); - long hash = LongHashFunction.xx_r39().hashBytes(StandardCharsets.UTF_8.encode(key)); + long hash = LongHashFunction.xx().hashBytes(StandardCharsets.UTF_8.encode(key)); int segmentIndex = (((int) hash) & Integer.MAX_VALUE) % segments; // Put the segment index as a value to the map map.put(key, segmentIndex);