@Override public MemChunkHolder<BigDataPMemAllocator> createChunk(long size,boolean autoreclaim){
  MemChunkHolder<BigDataPMemAllocator> ret=null;
  Long addr=m_nvmasvc.allocate(m_nid,size,true);
  if ((null == addr || 0 == addr) && m_activegc) {
    forceGC();
    addr=m_nvmasvc.allocate(m_nid,size,true);
  }
  if (null != addr && 0 != addr) {
    ret=new MemChunkHolder<BigDataPMemAllocator>(this,addr,size);
    ret.setCollector(m_chunkcollector);
    if (autoreclaim) {
      m_chunkcollector.register(ret);
    }
  }
  return ret;
}

@ Override public MemChunkHolder < BigDataPMemAllocator > createChunk ( long size , boolean autoreclaim ) { MemChunkHolder < BigDataPMemAllocator > ret = null ; Long addr = m_nvmasvc . allocate ( m_nid , size , true ) ; if ( ( null == addr || 0 == addr ) && m_activegc ) { forceGC ( ) ; addr = m_nvmasvc . allocate ( m_nid , size , true ) ; } if ( null != addr && 0 != addr ) { ret = new MemChunkHolder < BigDataPMemAllocator > ( this , addr , size ) ; ret . setCollector ( m_chunkcollector ) ; if ( autoreclaim ) { m_chunkcollector . register ( ret ) ; } } return ret ; }
create a memory chunk that is managed by its holder .
