minor change to workariund a java6 profiling glitch
This commit is contained in:
parent
6bd435723f
commit
fb9334bf24
5 changed files with 8 additions and 8 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue