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

@ Override public MemChunkHolder < VolatileMemAllocator > createChunk ( long size , boolean autoreclaim ) { MemChunkHolder < VolatileMemAllocator > ret = null ; Long addr = m_vmasvc . allocate ( m_nid , size , true ) ; if ( 0 == addr && m_activegc ) { m_chunkcollector . waitReclaimCoolDown ( m_gctimeout ) ; addr = m_vmasvc . allocate ( m_nid , size , true ) ; } if ( 0 != addr ) { ret = new MemChunkHolder < VolatileMemAllocator > ( 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 .
