Class GarbageCollectedMemoryPoolTest

java.lang.Object
org.apache.kafka.common.memory.GarbageCollectedMemoryPoolTest

@Tag("bazel:jvm_flags:-Xmx256m") public class GarbageCollectedMemoryPoolTest extends Object
  • 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

      @Test public void testBuffersGarbageCollected() throws Exception
      Throws:
      Exception