class MemoryManager {

	public List<MemorySegment> allocatePages(Object owner, int numPages) throws MemoryAllocationException {
		List<MemorySegment> segments = new ArrayList<>(numPages);
		allocatePages(owner, segments, numPages);
		return segments;
	}

	  MemoryManager(long memorySize, int pageSize, int verifyEmptyWaitGcMaxSleeps);

}