Package org.caffinitas.ohc.jmh
Class AllocatorBenchmark
- java.lang.Object
-
- org.caffinitas.ohc.jmh.AllocatorBenchmark
-
- Direct Known Subclasses:
AllocatorBenchmark_jmhType_B1
public class AllocatorBenchmark extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllocatorBenchmark.Allocationsstatic classAllocatorBenchmark.Rand
-
Constructor Summary
Constructors Constructor Description AllocatorBenchmark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallocateMultiThreaded(AllocatorBenchmark.Rand rand, AllocatorBenchmark.Allocations state)voidallocateSingleThreaded(AllocatorBenchmark.Rand rand, AllocatorBenchmark.Allocations state)voidcreateAllocator()voidtearDown(AllocatorBenchmark.Allocations allocations)
-
-
-
Method Detail
-
createAllocator
public void createAllocator()
-
tearDown
public void tearDown(AllocatorBenchmark.Allocations allocations) throws IOException
- Throws:
IOException
-
allocateSingleThreaded
public void allocateSingleThreaded(AllocatorBenchmark.Rand rand, AllocatorBenchmark.Allocations state)
-
allocateMultiThreaded
public void allocateMultiThreaded(AllocatorBenchmark.Rand rand, AllocatorBenchmark.Allocations state)
-
-