question: @ Override public MemChunkHolder < NonVolatileMemAllocator > resizeChunk ( MemChunkHolder < NonVolatileMemAllocator > mholder , long size ) { MemChunkHolder < NonVolatileMemAllocator > ret = null ; boolean ac = null != mholder . getRefId ( ) ; if ( size > 0 ) { Long addr = m_nvmasvc . reallocate ( m_nid , mholder . get ( ) , size , true ) ; if ( 0 == addr && m_activegc ) { m_chunkcollector . waitReclaimCoolDown ( m_gctimeout ) ; addr = m_nvmasvc . reallocate ( m_nid , mholder . get ( ) , size , true ) ; } if ( 0 != addr ) { mholder . clear ( ) ; mholder . destroy ( ) ; ret = new MemChunkHolder < NonVolatileMemAllocator > ( this , addr , size ) ; if ( ac ) { m_chunkcollector . register ( ret ) ; } } } return ret ; }
target:  re-size a specified chunk on its backed memory pool.