private void release0(long ptr,long size,AtomicLong cnt){
  if (ptr != 0) {
    if (SAFE_RELEASE)     fill(ptr,size,(byte)0xAB);
    GridUnsafe.freeMemory(ptr);
    cnt.addAndGet(-size);
    if (lsnr != null)     lsnr.onEvent(RELEASE);
  }
}

private void release0 ( long ptr , long size , AtomicLong cnt ) { if ( ptr != 0 ) { if ( SAFE_RELEASE ) fill ( ptr , size , ( byte ) 0xAB ) ; GridUnsafe . freeMemory ( ptr ) ; cnt . addAndGet ( - size ) ; if ( lsnr != null ) lsnr . onEvent ( RELEASE ) ; } }
internal release procedure . decreases size of corresponding counter .
