simulator: Keep track of external fragmentation in method cache