mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Prevent leaks of ChronicleMaps though thread local contexts and supplimental OldDeletedEntriesCleanupThread, add MemoryLeakTest
This commit is contained in:
@@ -23,6 +23,11 @@ public final class IntCompactOffHeapLinearHashTable extends CompactOffHeapLinear
|
||||
|
||||
private static final long SCALE = 4L;
|
||||
|
||||
/**
|
||||
* Must not store {@code h} in a field, to avoid memory leaks.
|
||||
*
|
||||
* @see net.openhft.chronicle.hash.impl.stage.hash.Chaining#initMap
|
||||
*/
|
||||
IntCompactOffHeapLinearHashTable(VanillaChronicleHash h) {
|
||||
super(h);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user