allocates some unpooled memory and creates a new memory segment that represents that memory . this method is similar to #allocateunpooledsegment int , but additionally sets the owner of the memory segment . concode_field_sep Factory factory concode_field_sep MemorySegment wrapPooledHeapMemory concode_elem_sep MemorySegment wrapPooledHeapMemory concode_elem_sep void ensureInitialized concode_elem_sep MemorySegment wrapPooledOffHeapMemory concode_elem_sep MemorySegment wrapPooledOffHeapMemory concode_elem_sep boolean isInitialized concode_elem_sep void initializeFactory concode_elem_sep Factory getFactory concode_elem_sep MemorySegment wrap concode_elem_sep MemorySegment wrap
MemorySegment function ( int arg0 , Object arg1 ) { ensureInitialized ( ) ; return factory . allocateUnpooledSegment ( arg0 , arg1 ) ; }