int function ( ObjectReference arg0 , int arg1 , int arg2 , int arg3 ) { boolean loc0 = Allocator . getMaximumAlignedSize ( arg1 , arg2 ) > Plan . MAX_NON_LOS_COPY_BYTES ; return loc0 ? Plan . ALLOC_LOS : arg3 ; }
run-time check of the allocator to use for a given copy allocation at the moment this method assumes that allocators will use the simple worst method of aligning to determine if the object is a large object to ensure that no objects are larger than other allocators can handle . concode_field_sep BumpPointer immortal concode_elem_sep SanityCheckerLocal sanityLocal concode_elem_sep boolean resetConcurrentWork concode_elem_sep int id concode_field_sep void initCollector concode_elem_sep Address allocCopy concode_elem_sep void collectionPhase concode_elem_sep void postCopy concode_elem_sep TraceLocal getCurrentTrace concode_elem_sep void concurrentCollect concode_elem_sep void concurrentCollectionPhase concode_elem_sep void resetConcurrentWork concode_elem_sep int getId concode_elem_sep void clearResetConcurrentWork concode_elem_sep void collect