Class TestMemstoreLABWithoutPool
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestMemstoreLABWithoutPool
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]static final HBaseClassTestRuleprivate static final org.apache.hadoop.conf.Configurationprivate static final byte[]private static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ThreadgetChunkQueueTestThread(org.apache.hadoop.hbase.regionserver.MemStoreLABImpl mslab, String threadName, org.apache.hadoop.hbase.Cell cellToCopyInto) static voidvoidTest frequent chunk retirement with chunk pool triggered by lots of threads, making sure there's no memory leak (HBASE-16195)voidTest a bunch of random allocations
-
Field Details
-
CLASS_RULE
-
conf
-
rk
-
cf
-
q
-
-
Constructor Details
-
TestMemstoreLABWithoutPool
public TestMemstoreLABWithoutPool()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
testLABRandomAllocation
Test a bunch of random allocations -
testLABChunkQueueWithMultipleMSLABs
Test frequent chunk retirement with chunk pool triggered by lots of threads, making sure there's no memory leak (HBASE-16195)- Throws:
Exception- if any error occurred
-
getChunkQueueTestThread
private Thread getChunkQueueTestThread(org.apache.hadoop.hbase.regionserver.MemStoreLABImpl mslab, String threadName, org.apache.hadoop.hbase.Cell cellToCopyInto)
-