mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 10:52:30 +00:00
volatiles
This commit is contained in:
1 parent
5b9d669d79
commit
236df32f30
1 file changed
+2
-2
@@ -104,10 +104,10 @@ public final class ByteCache {
|
||||
}
|
||||
|
||||
/** list of available and available entries */
|
||||
private Queue<ByteArray> _available;
|
||||
private volatile Queue<ByteArray> _available;
|
||||
private int _maxCached;
|
||||
private final int _entrySize;
|
||||
private long _lastOverflow;
|
||||
private volatile long _lastOverflow;
|
||||
|
||||
/** do we actually want to cache? Warning - setting to false may NPE, this should be fixed or removed */
|
||||
private static final boolean _cache = true;
|
||||
|
||||
Reference in new issue
Block a user