@Override public MemChunkHolder<BigDataPMemAllocator> resizeChunk(MemChunkHolder<BigDataPMemAllocator> mholder,long size){
  MemChunkHolder<BigDataPMemAllocator> 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) {
      forceGC();
      addr=m_nvmasvc.reallocate(m_nid,mholder.get(),size,true);
    }
    if (0 != addr) {
      mholder.clear();
      mholder.destroy();
      ret=new MemChunkHolder<BigDataPMemAllocator>(this,addr,size);
      if (ac) {
        m_chunkcollector.register(ret);
      }
    }
  }
  return ret;
}

@ Override public MemChunkHolder < BigDataPMemAllocator > resizeChunk ( MemChunkHolder < BigDataPMemAllocator > mholder , long size ) { MemChunkHolder < BigDataPMemAllocator > 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 ) { forceGC ( ) ; addr = m_nvmasvc . reallocate ( m_nid , mholder . get ( ) , size , true ) ; } if ( 0 != addr ) { mholder . clear ( ) ; mholder . destroy ( ) ; ret = new MemChunkHolder < BigDataPMemAllocator > ( this , addr , size ) ; if ( ac ) { m_chunkcollector . register ( ret ) ; } } } return ret ; }
re - size a specified chunk on its backed memory pool .
