PreventCollection and debug output of gc