minor change to workariund a java6 profiling glitch

This commit is contained in:
Arndt Brenschede 2018-12-16 13:32:16 +01:00
parent 6bd435723f
commit fb9334bf24
5 changed files with 8 additions and 8 deletions

View file

@ -25,7 +25,7 @@ public final class LruMap
public LruMapNode get( LruMapNode key )
{
int bin = ( key.hashCode() & 0xfffffff ) % hashbins;
int bin = ( key.hash & 0xfffffff ) % hashbins;
LruMapNode e = binArray[bin];
while ( e != null )

View file

@ -5,4 +5,6 @@ public abstract class LruMapNode
LruMapNode nextInBin; // next entry for hash-bin
LruMapNode next; // next in lru sequence (towards mru)
LruMapNode previous; // previous in lru sequence (towards lru)
public int hash;
}