Move local objs variable to a static public so the the optimizer will not remove it unexpectedly. Reviewed-by: sla