Lines Matching refs:mallocBlock
2553 Block * mallocBlock; in internalPoolMalloc() local
2576 for( mallocBlock = bin->getActiveBlock(); mallocBlock; in internalPoolMalloc()
2577 mallocBlock = bin->setPreviousBlockActive() ) // the previous block should be empty enough in internalPoolMalloc()
2579 if( FreeObject *result = mallocBlock->allocate() ) in internalPoolMalloc()
2586 mallocBlock = bin->getPrivatizedFreeListBlock(); in internalPoolMalloc()
2587 if (mallocBlock) { in internalPoolMalloc()
2588 MALLOC_ASSERT( mallocBlock->freeListNonNull(), ASSERT_TEXT ); in internalPoolMalloc()
2589 if ( FreeObject *result = mallocBlock->allocateFromFreeList() ) in internalPoolMalloc()
2599 mallocBlock = memPool->extMemPool.orphanedBlocks.get(tls, size); in internalPoolMalloc()
2600 while (mallocBlock) { in internalPoolMalloc()
2601 bin->pushTLSBin(mallocBlock); in internalPoolMalloc()
2602 bin->setActiveBlock(mallocBlock); // TODO: move under the below condition? in internalPoolMalloc()
2603 if( FreeObject *result = mallocBlock->allocate() ) in internalPoolMalloc()
2605 mallocBlock = memPool->extMemPool.orphanedBlocks.get(tls, size); in internalPoolMalloc()
2611 mallocBlock = memPool->getEmptyBlock(size); in internalPoolMalloc()
2612 if (mallocBlock) { in internalPoolMalloc()
2613 bin->pushTLSBin(mallocBlock); in internalPoolMalloc()
2614 bin->setActiveBlock(mallocBlock); in internalPoolMalloc()
2615 if( FreeObject *result = mallocBlock->allocate() ) in internalPoolMalloc()