Sets release (i.e. how exactly the released objects arefreed).
The method can be only set before any objects is released and is not thread-safe.
New release policy.