MemoryBlock function ( long arg0 ) { final MemoryBlock loc0 = executorMemoryManager . allocate ( arg0 ) ; allocatedNonPageMemory . add ( loc0 ) ; return loc0 ; }
allocates a contiguous block of memory . note that the allocated memory is not guaranteed to be zeroed out call ` zero ` on the result if this is necessary . this method is intended to be used for allocating operators ' internal data structures . for data pages that you want to exchange between operators , consider using taskmemorymanager #allocatepage long , since that will enable intra-memory pointers see taskmemorymanager #encodepagenumberandoffset memoryblock , long and this class ` stop-level javadoc for more details . concode_field_sep BitSet allocatedPages concode_elem_sep long MAXIMUM_PAGE_SIZE concode_elem_sep long MASK_LONG_UPPER_13_BITS concode_elem_sep MemoryBlock[] pageTable concode_elem_sep ExecutorMemoryManager executorMemoryManager concode_elem_sep int OFFSET_BITS concode_elem_sep int PAGE_NUMBER_BITS concode_elem_sep HashSet<MemoryBlock> allocatedNonPageMemory concode_elem_sep long MASK_LONG_LOWER_51_BITS concode_elem_sep int PAGE_TABLE_SIZE concode_elem_sep boolean inHeap concode_elem_sep Logger logger concode_field_sep long cleanUpAllAllocatedMemory concode_elem_sep long getOffsetInPage concode_elem_sep MemoryBlock allocatePage concode_elem_sep Object getPage concode_elem_sep void freePage concode_elem_sep long decodeOffset concode_elem_sep long encodePageNumberAndOffset concode_elem_sep long encodePageNumberAndOffset concode_elem_sep int decodePageNumber concode_elem_sep void free