10 seconds ought to be long enough for any object to be gc ` ed and finalized . unless we have a gigantic heap , in which case we scale by heap size . concode_field_sep PlaceHolder placeHolder concode_field_sep RuntimeException formatRuntimeException concode_elem_sep void await concode_elem_sep void createUnreachableLatchFinalizer concode_elem_sep boolean isDone concode_elem_sep void awaitDone concode_elem_sep void awaitDone concode_elem_sep void awaitClear concode_elem_sep void awaitFullGc
long function ( ) { return Math . max ( 10L , Runtime . getRuntime ( ) . totalMemory ( ) / ( 32L * 1024L * 1024L ) ) ; }