eliminate memset in frame gc