Class GarbageCollectedMemoryPoolTest
java.lang.Object
org.apache.kafka.common.memory.GarbageCollectedMemoryPoolTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
GarbageCollectedMemoryPoolTest
public GarbageCollectedMemoryPoolTest()
-
-
Method Details
-
releasePool
@AfterEach public void releasePool() -
testZeroSize
@Test public void testZeroSize() -
testNegativeSize
@Test public void testNegativeSize() -
testZeroMaxAllocation
@Test public void testZeroMaxAllocation() -
testNegativeMaxAllocation
@Test public void testNegativeMaxAllocation() -
testMaxAllocationLargerThanSize
@Test public void testMaxAllocationLargerThanSize() -
testAllocationOverMaxAllocation
@Test public void testAllocationOverMaxAllocation() -
testAllocationZero
@Test public void testAllocationZero() -
testAllocationNegative
@Test public void testAllocationNegative() -
testReleaseNull
@Test public void testReleaseNull() -
testReleaseForeignBuffer
@Test public void testReleaseForeignBuffer() -
testDoubleFree
@Test public void testDoubleFree() -
testAllocationBound
@Test public void testAllocationBound() -
testBuffersGarbageCollected
-