Avoid saving result from WeakHashMap.size()

This value is only valid until the next call on the hash
map because it can garbage collect before anything that
resizes or accesses the backing table

Bug: 266978825
Change-Id: I8c8e2df8c205130da0d3831b88450cc2534f97bb
1 file changed