Lines Matching refs:mallocPool
424 StressLOCacheWork(rml::MemoryPool *mallocPool) : my_mallocPool(mallocPool) {} in StressLOCacheWork() argument
455 rml::MemoryPool *mallocPool; in TestPools() local
457 pool_create_v1(0, &pol, &mallocPool); in TestPools()
470 void *p = pool_malloc(mallocPool, passBackendSz); in TestPools()
472 pool_free(mallocPool, p); in TestPools()
477 void *p = pool_malloc(mallocPool, anotherLOCBinSz); in TestPools()
479 pool_free(mallocPool, p); in TestPools()
500 utils::NativeParallelFor( p, StressLOCacheWork(mallocPool) ); in TestPools()
501 pool_destroy(mallocPool); in TestPools()
511 pool_create_v1(0, &pol, &mallocPool); in TestPools()
512 const LargeObjectCache *loc = &((rml::internal::MemoryPool*)mallocPool)->extMemPool.loc; in TestPools()
514 p[3] = pool_malloc(mallocPool, minLargeObjectSize+2*LargeCacheStep); in TestPools()
516 p[0] = pool_malloc(mallocPool, minLargeObjectSize); in TestPools()
517 p[1] = pool_malloc(mallocPool, minLargeObjectSize+LargeCacheStep); in TestPools()
518 pool_free(mallocPool, p[0]); in TestPools()
519 pool_free(mallocPool, p[1]); in TestPools()
522 pool_free(mallocPool, p[3]); in TestPools()
527 p[i] = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
530 p[4] = pool_malloc(mallocPool, minLargeObjectSize+3*LargeCacheStep); in TestPools()
532 pool_free(mallocPool, p[4]); in TestPools()
534 pool_reset(mallocPool); in TestPools()
536 pool_destroy(mallocPool); in TestPools()
542 pool_create_v1(0, &pol, &mallocPool); in TestPools()
543 rml::internal::ExtMemoryPool *mPool = &((rml::internal::MemoryPool*)mallocPool)->extMemPool; in TestPools()
544 const LargeObjectCache *loc = &((rml::internal::MemoryPool*)mallocPool)->extMemPool.loc; in TestPools()
547 void *o = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
551 o = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
558 pool_destroy(mallocPool); in TestPools()