void (final int pageSize, final boolean direct) { totalPagesHandedOver.incrementAndGet(); if (direct) { pageReclaimedNative(pageSize); pageAllocatedNative(pageSize); } else { pageReclaimedHeap(pageSize); pageAllocatedHeap(pageSize); } }